Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.0007248/0.0007248, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009719/0.001697, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006844/0.0006844, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008539/0.001538, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9356/0.9356, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.178/1.114, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1433/0.1433, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02229/0.1656, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.25e-05, allocations: 2.312 kB / 267.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3337/0.3338, allocations: 146.8 MB / 414 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007112/0.3409, allocations: 5.086 MB / 419.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.3414, allocations: 27.75 kB / 419.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.3419, allocations: 218.5 kB / 419.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.3443, allocations: 1.107 MB / 420.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.3459, allocations: 0.8199 MB / 421.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.3481, allocations: 1.941 MB / 423.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.3487, allocations: 413.8 kB / 423.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.3505, allocations: 1.168 MB / 424.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.3512, allocations: 0.5648 MB / 425.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.3513, allocations: 60 kB / 425.4 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009309/0.3522, allocations: 0.4953 MB / 425.9 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3525, allocations: 235.3 kB / 426.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.3527, allocations: 227.6 kB / 426.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.354, allocations: 0.884 MB / 427.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.354, allocations: 0 / 427.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.354, allocations: 0 / 427.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.354, allocations: 0 / 427.2 MB, free: 6.902 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001913/0.3559, allocations: 1.252 MB / 428.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.356, allocations: 11.89 kB / 428.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005418/0.3565, allocations: 212.4 kB / 428.7 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.3571, allocations: 419.4 kB / 429.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-05/0.3572, allocations: 156.3 kB / 429.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.3573, allocations: 56.38 kB / 429.3 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.3579, allocations: 0.9144 MB / 430.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3579, allocations: 4 kB / 430.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.358, allocations: 24 kB / 430.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.358, allocations: 36.92 kB / 430.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3583, allocations: 229.4 kB / 430.5 MB, free: 3.352 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.3604, allocations: 2.669 MB / 433.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3607, allocations: 178 kB / 433.4 MB, free: 408 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.3607, allocations: 61.39 kB / 433.4 MB, free: 344 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.3609, allocations: 133.9 kB / 433.6 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.361, allocations: 44.03 kB / 433.6 MB, free: 156 kB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.361, allocations: 0 / 433.6 MB, free: 156 kB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002192/0.3632, allocations: 0.8971 MB / 434.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3632, allocations: 59.41 kB / 434.6 MB, free: 15.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3635, allocations: 478.8 kB / 435 MB, free: 14.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.3636, allocations: 33.7 kB / 435.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3637, allocations: 345 kB / 435.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.3638, allocations: 150.7 kB / 435.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3639, allocations: 142.5 kB / 435.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3641, allocations: 386.6 kB / 436.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.3641, allocations: 57.97 kB / 436.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3644, allocations: 0.4954 MB / 436.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.3649, allocations: 0.5185 MB / 437.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3649, allocations: 4 kB / 437.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005532/0.3654, allocations: 496.7 kB / 437.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3654, allocations: 15.98 kB / 437.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3654, allocations: 12 kB / 437.7 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.366, allocations: 211.8 kB / 437.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3662, allocations: 147.7 kB / 438 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00048/0.3667, allocations: 0.6814 MB / 438.7 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3669, allocations: 24.88 kB / 438.7 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.367, allocations: 44 kB / 438.8 MB, free: 10.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.3671, allocations: 168.3 kB / 438.9 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.3672, allocations: 51.95 kB / 439 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.3677, allocations: 393.9 kB / 439.4 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3677, allocations: 8 kB / 439.4 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3677, allocations: 0 / 439.4 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3677, allocations: 3.984 kB / 439.4 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.3685, allocations: 0.7084 MB / 440.1 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3685, allocations: 0 / 440.1 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.369, allocations: 191.9 kB / 440.3 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3692, allocations: 79.59 kB / 440.3 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-05/0.3692, allocations: 20.83 kB / 440.4 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3693, allocations: 8 kB / 440.4 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.3704, allocations: 2.402 MB / 442.8 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3704, allocations: 0 / 442.8 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.3708, allocations: 427.2 kB / 443.2 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3708, allocations: 8 kB / 443.2 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.371, allocations: 15.98 kB / 443.2 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.371, allocations: 27.95 kB / 443.2 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.3711, allocations: 23.98 kB / 443.3 MB, free: 5.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3712, allocations: 208.3 kB / 443.5 MB, free: 5.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3712, allocations: 0 / 443.5 MB, free: 5.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00052/0.3718, allocations: 251.7 kB / 443.7 MB, free: 5.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005548/0.3723, allocations: 270.7 kB / 444 MB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.3728, allocations: 323.6 kB / 444.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.186e-05/0.3728, allocations: 12.5 kB / 444.3 MB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.3732, allocations: 304 kB / 444.6 MB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.3739, allocations: 381.6 kB / 445 MB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.3811, allocations: 1.135 MB / 446.1 MB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3812, allocations: 166.5 kB / 446.3 MB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.3817, allocations: 153.4 kB / 446.4 MB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.3822, allocations: 309 kB / 446.7 MB, free: 2.223 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3822, allocations: 0 / 446.7 MB, free: 2.223 MB / 394.7 MB Notification: Performance of Templates: time 0.01862/0.4008, allocations: 16.67 MB / 463.4 MB, free: 1.648 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4300783816725016]