Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 191.3 kB / 22.93 MB, free: 5.484 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.393/1.393, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 50.73 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3165, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0378/0.3543, allocations: 37.89 MB / 432.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006398/0.3607, allocations: 4.615 MB / 437 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.361, allocations: 5.906 kB / 437 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009074/0.3619, allocations: 299.3 kB / 437.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.3629, allocations: 494.1 kB / 437.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.3679, allocations: 1.633 MB / 439.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.3696, allocations: 1.284 MB / 440.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3699, allocations: 130.2 kB / 440.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.3706, allocations: 490.4 kB / 441.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.3711, allocations: 430.4 kB / 441.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/0.3712, allocations: 44 kB / 441.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.373, allocations: 0.7649 MB / 442.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3731, allocations: 135.5 kB / 442.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.3734, allocations: 279 kB / 443 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3749, allocations: 1.055 MB / 444 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3749, allocations: 0 / 444 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3749, allocations: 0 / 444 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3749, allocations: 4 kB / 444 MB, free: 2.234 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001222/0.3761, allocations: 0.7866 MB / 444.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3762, allocations: 8.031 kB / 444.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.3768, allocations: 80.62 kB / 444.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.3773, allocations: 347.6 kB / 445.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.3773, allocations: 29.38 kB / 445.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.3774, allocations: 48.31 kB / 445.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.3781, allocations: 483.6 kB / 445.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.3781, allocations: 3.984 kB / 445.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.3782, allocations: 20 kB / 445.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3782, allocations: 8 kB / 445.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.3787, allocations: 307.7 kB / 446.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.3935, allocations: 6.727 MB / 452.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.394, allocations: 262.3 kB / 453.1 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3943, allocations: 141.3 kB / 453.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.4055, allocations: 3.896 MB / 457.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.961e-05/0.4055, allocations: 38.56 kB / 457.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.355e-06/0.4055, allocations: 0 / 457.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01242/0.418, allocations: 2.455 MB / 459.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.418, allocations: 59.41 kB / 459.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.4184, allocations: 299.3 kB / 460 MB, free: 1.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.4184, allocations: 37.64 kB / 460 MB, free: 1.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.4186, allocations: 228.5 kB / 460.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.4187, allocations: 170.6 kB / 460.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4189, allocations: 98.2 kB / 460.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.419, allocations: 346.8 kB / 460.9 MB, free: 260 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.4193, allocations: 149.1 kB / 461 MB, free: 112 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.4197, allocations: 279.7 kB / 461.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.4204, allocations: 476.3 kB / 461.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4204, allocations: 0 / 461.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001136/0.4215, allocations: 0.5883 MB / 462.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4215, allocations: 15.95 kB / 462.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4216, allocations: 8 kB / 462.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008164/0.4297, allocations: 1.843 MB / 464.2 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.4302, allocations: 107.8 kB / 464.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.4327, allocations: 2.562 MB / 466.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.433, allocations: 12 kB / 466.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.4331, allocations: 27.98 kB / 466.9 MB, free: 9.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.4333, allocations: 177.6 kB / 467.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4334, allocations: 39.77 kB / 467.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.4348, allocations: 0.8477 MB / 468 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4348, allocations: 11.92 kB / 468 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4348, allocations: 4 kB / 468 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.4359, allocations: 0.9573 MB / 468.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.4381, allocations: 1.486 MB / 470.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4381, allocations: 0 / 470.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.4384, allocations: 83.92 kB / 470.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/0.442, allocations: 0.6102 MB / 471.1 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.442, allocations: 23.92 kB / 471.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.4431, allocations: 1.284 MB / 472.4 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4431, allocations: 3.938 kB / 472.4 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4449, allocations: 1.221 MB / 473.6 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.445, allocations: 124.8 kB / 473.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.4451, allocations: 12 kB / 473.8 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.4453, allocations: 15.94 kB / 473.8 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.4454, allocations: 23.95 kB / 473.8 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.4454, allocations: 19.98 kB / 473.8 MB, free: 2.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.4457, allocations: 214 kB / 474 MB, free: 2.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4457, allocations: 0 / 474 MB, free: 2.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.4465, allocations: 231.7 kB / 474.3 MB, free: 2.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006435/0.4471, allocations: 270.8 kB / 474.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.4484, allocations: 0.6747 MB / 475.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4484, allocations: 0 / 475.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009312/0.4494, allocations: 413.3 kB / 475.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4506, allocations: 240.6 kB / 475.8 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4527, allocations: 1.26 MB / 477.1 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.4532, allocations: 0.8401 MB / 477.9 MB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.4535, allocations: 64.36 kB / 478 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.4535, allocations: 39.42 kB / 478 MB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4536, allocations: 0 / 478 MB, free: 14.39 MB / 398.1 MB Notification: Performance of Templates: time 0.02388/0.4774, allocations: 13.1 MB / 491.1 MB, free: 1.266 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 6.159186596982181]