Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001098/0.001098, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001199/0.001199, allocations: 174.3 kB / 24.92 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9625/0.9625, allocations: 177.1 MB / 205.3 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.959e-05, allocations: 6.906 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3558/0.3558, allocations: 148.1 MB / 471.3 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3591, allocations: 2.626 MB / 473.9 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.3594, allocations: 27.59 kB / 474 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.3599, allocations: 210.4 kB / 474.2 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.3619, allocations: 1.103 MB / 475.3 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3632, allocations: 0.8263 MB / 476.1 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3649, allocations: 1.907 MB / 478 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.3653, allocations: 421.8 kB / 478.4 MB, free: 16.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.3668, allocations: 1.139 MB / 479.6 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.3674, allocations: 0.5645 MB / 480.1 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.3675, allocations: 62.78 kB / 480.2 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.3682, allocations: 448.3 kB / 480.6 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3684, allocations: 289 kB / 480.9 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.3687, allocations: 278.2 kB / 481.2 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3698, allocations: 1.005 MB / 482.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3698, allocations: 0 / 482.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3698, allocations: 0 / 482.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3698, allocations: 0 / 482.2 MB, free: 16.14 MB / 410.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.001484/0.3713, allocations: 0.976 MB / 483.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3713, allocations: 11.03 kB / 483.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006775/0.372, allocations: 204.2 kB / 483.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.3725, allocations: 421.6 kB / 483.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.3726, allocations: 151.9 kB / 483.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.395e-05/0.3727, allocations: 60.42 kB / 484 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.3734, allocations: 0.8942 MB / 484.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3734, allocations: 2.344 kB / 484.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.3735, allocations: 25.38 kB / 484.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.3736, allocations: 40.22 kB / 485 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.3739, allocations: 233.5 kB / 485.2 MB, free: 14.59 MB / 410.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.002237/0.3762, allocations: 2.639 MB / 487.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.3764, allocations: 172.3 kB / 488 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3766, allocations: 63.92 kB / 488 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.3767, allocations: 36.33 kB / 488.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3767, allocations: 45.84 kB / 488.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.3767, allocations: 4 kB / 488.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.004315/0.381, allocations: 0.9241 MB / 489.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3811, allocations: 136.4 kB / 489.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.3815, allocations: 484.1 kB / 489.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.3815, allocations: 35.36 kB / 489.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3817, allocations: 342 kB / 490 MB, free: 11.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3818, allocations: 149.8 kB / 490.2 MB, free: 11.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3819, allocations: 146 kB / 490.3 MB, free: 11.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.382, allocations: 378 kB / 490.7 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3822, allocations: 63.89 kB / 490.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3824, allocations: 0.4985 MB / 491.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.383, allocations: 0.5231 MB / 491.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.383, allocations: 2.781 kB / 491.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008079/0.3838, allocations: 0.4932 MB / 492.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3838, allocations: 13.47 kB / 492.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3838, allocations: 12.53 kB / 492.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/0.3846, allocations: 216.9 kB / 492.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.3849, allocations: 132.6 kB / 492.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005158/0.3855, allocations: 0.6796 MB / 493.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.3859, allocations: 28.22 kB / 493.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.386, allocations: 53.11 kB / 493.4 MB, free: 9.723 MB / 410.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.0002291/0.3862, allocations: 167.5 kB / 493.6 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3863, allocations: 51.16 kB / 493.6 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.3872, allocations: 0.5774 MB / 494.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3872, allocations: 6.594 kB / 494.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3872, allocations: 0 / 494.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3872, allocations: 2.062 kB / 494.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3884, allocations: 0.7224 MB / 494.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3884, allocations: 0 / 494.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.389, allocations: 170.2 kB / 495.1 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.3891, allocations: 20.62 kB / 495.1 MB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.3892, allocations: 18.92 kB / 495.1 MB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.3904, allocations: 2.406 MB / 497.5 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3904, allocations: 5.281 kB / 497.5 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.3911, allocations: 470.7 kB / 498 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.3913, allocations: 74.03 kB / 498.1 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.3914, allocations: 15.81 kB / 498.1 MB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.3916, allocations: 11.91 kB / 498.1 MB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3918, allocations: 40.66 kB / 498.1 MB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.3918, allocations: 28.17 kB / 498.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002995/0.3921, allocations: 208.6 kB / 498.4 MB, free: 6.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3921, allocations: 0 / 498.4 MB, free: 6.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001174/0.3933, allocations: 249.7 kB / 498.6 MB, free: 6.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0006657/0.3939, allocations: 236.3 kB / 498.8 MB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.3947, allocations: 330 kB / 499.2 MB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-05/0.3947, allocations: 12.94 kB / 499.2 MB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.3953, allocations: 287.2 kB / 499.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3963, allocations: 327.7 kB / 499.8 MB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3979, allocations: 1.133 MB / 0.4892 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.398, allocations: 159.8 kB / 0.4893 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000586/0.3986, allocations: 364.5 kB / 0.4897 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.3991, allocations: 324.5 kB / 0.49 GB, free: 5.383 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3991, allocations: 0 / 0.49 GB, free: 5.383 MB / 410.7 MB Notification: Performance of Templates: time 0.01886/0.4179, allocations: 16.52 MB / 0.5061 GB, free: 10.76 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.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.8297709189355373]