Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 116.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 60.53 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 49.13 MB / 391.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001933/0.1053, allocations: 0.524 MB / 391.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1076, allocations: 1.53 MB / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.1076, allocations: 0 / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.1076, allocations: 0 / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.1083, allocations: 179.7 kB / 393.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.682e-05/0.1084, allocations: 4 kB / 393.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.1084, allocations: 15.92 kB / 393.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.1085, allocations: 7.938 kB / 393.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.1085, allocations: 7.984 kB / 393.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.1086, allocations: 7.922 kB / 393.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1086, allocations: 4 kB / 393.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.1091, allocations: 243.7 kB / 393.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1091, allocations: 7.984 kB / 393.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.1091, allocations: 3.938 kB / 393.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1094, allocations: 167.7 kB / 394.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1094, allocations: 0 / 394.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1094, allocations: 0 / 394.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1095, allocations: 3.938 kB / 394.1 MB, free: 5.98 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000791/0.1102, allocations: 367 kB / 394.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1103, allocations: 12.03 kB / 394.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.1103, allocations: 34.69 kB / 394.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1104, allocations: 4.938 kB / 394.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.1105, allocations: 168.4 kB / 394.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1106, allocations: 384 / 394.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1106, allocations: 8.328 kB / 394.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.1107, allocations: 33.83 kB / 394.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1107, allocations: 7.984 kB / 394.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1107, allocations: 0 / 394.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1107, allocations: 0 / 394.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.1108, allocations: 8 kB / 394.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.111, allocations: 157.7 kB / 394.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.111, allocations: 38.55 kB / 394.9 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.1111, allocations: 12.86 kB / 395 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1111, allocations: 0 / 395 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1111, allocations: 34.5 kB / 395 MB, free: 4.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1111, allocations: 0 / 395 MB, free: 4.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001626/0.1113, allocations: 53.7 kB / 395 MB, free: 4.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1113, allocations: 55.41 kB / 395.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.1114, allocations: 105.8 kB / 395.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1114, allocations: 25.7 kB / 395.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1115, allocations: 88.12 kB / 395.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1115, allocations: 15.84 kB / 395.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1116, allocations: 17.72 kB / 395.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1117, allocations: 314.8 kB / 395.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.1117, allocations: 8 kB / 395.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.1117, allocations: 17.72 kB / 395.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.1118, allocations: 37.64 kB / 395.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1118, allocations: 0 / 395.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.817e-05/0.1119, allocations: 53.62 kB / 395.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1119, allocations: 8 kB / 395.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1119, allocations: 0 / 395.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1119, allocations: 0 / 395.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.112, allocations: 15.97 kB / 395.8 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.112, allocations: 7.938 kB / 395.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.112, allocations: 0 / 395.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.112, allocations: 4 kB / 395.8 MB, free: 4.059 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.1121, allocations: 105.8 kB / 395.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.1121, allocations: 7.891 kB / 395.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.1122, allocations: 15.48 kB / 395.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1122, allocations: 3.938 kB / 395.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1122, allocations: 0 / 395.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1122, allocations: 4 kB / 395.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1123, allocations: 153.7 kB / 396.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1123, allocations: 0 / 396.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.1124, allocations: 11.94 kB / 396.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1124, allocations: 0 / 396.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1124, allocations: 0 / 396.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1124, allocations: 0 / 396.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1124, allocations: 0 / 396.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1125, allocations: 85.08 kB / 396.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.1126, allocations: 89.06 kB / 396.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1126, allocations: 0 / 396.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.1126, allocations: 4.125 kB / 396.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.1126, allocations: 0 / 396.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1126, allocations: 4 kB / 396.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.1127, allocations: 87.73 kB / 396.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1127, allocations: 0 / 396.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1129, allocations: 47.88 kB / 396.4 MB, free: 3.355 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007401/0.1137, allocations: 0.6671 MB / 397.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.1138, allocations: 19.98 kB / 397.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1138, allocations: 0 / 397.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.1138, allocations: 8 kB / 397.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1139, allocations: 4 kB / 397.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1153, allocations: 1.198 MB / 398.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1157, allocations: 0.6808 MB / 399 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1158, allocations: 3.938 kB / 399 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.1158, allocations: 15.44 kB / 399 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1158, allocations: 0 / 399 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.1433, allocations: 2.004 MB / 401 MB, free: 14.56 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/7.969, allocations: 8.062 kB / 401 MB, free: 14.55 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.543064775003586]