Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 108.8 kB / 17.28 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 189.3 kB / 18.2 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.1 MB 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.001209/0.001209, allocations: 51.92 kB / 280.2 MB, free: 3.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09209, allocations: 46.61 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3226/0.4147, allocations: 142 MB / 468.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.4174, allocations: 1.722 MB / 470.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.4179, allocations: 7.938 kB / 470.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009445/0.4189, allocations: 159.1 kB / 470.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.42, allocations: 298.5 kB / 471 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.4216, allocations: 393.6 kB / 471.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.423, allocations: 0.8445 MB / 472.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.4232, allocations: 112.6 kB / 472.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009388/0.4242, allocations: 394.7 kB / 472.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.4248, allocations: 346.8 kB / 473 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-05/0.4249, allocations: 32 kB / 473.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.4253, allocations: 143.7 kB / 473.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4255, allocations: 91.78 kB / 473.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.4258, allocations: 187.3 kB / 473.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.4265, allocations: 0.4883 MB / 474 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4266, allocations: 0 / 474 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4266, allocations: 0 / 474 MB, free: 4.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4266, allocations: 0 / 474 MB, free: 4.219 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001222/0.4278, allocations: 0.5932 MB / 474.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.4279, allocations: 11.89 kB / 474.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.4283, allocations: 44.55 kB / 474.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.4289, allocations: 283.7 kB / 474.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4289, allocations: 20.94 kB / 474.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.429, allocations: 24.38 kB / 474.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.4297, allocations: 301.7 kB / 475.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.4298, allocations: 7.984 kB / 475.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/0.4298, allocations: 8 kB / 475.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4298, allocations: 8 kB / 475.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.4303, allocations: 202.1 kB / 475.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.4327, allocations: 1.289 MB / 476.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.4332, allocations: 190.6 kB / 476.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.4334, allocations: 92.81 kB / 477 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.4336, allocations: 170.2 kB / 477.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4337, allocations: 34.56 kB / 477.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 3.677e-06/0.4337, allocations: 0 / 477.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.003531/0.4372, allocations: 1.038 MB / 478.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4373, allocations: 51.41 kB / 478.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.4377, allocations: 262.6 kB / 478.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.4378, allocations: 33.7 kB / 478.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4379, allocations: 176.2 kB / 478.8 MB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.438, allocations: 102.6 kB / 478.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4382, allocations: 61.48 kB / 478.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4384, allocations: 338.8 kB / 479.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.4386, allocations: 75.97 kB / 479.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.4389, allocations: 187.8 kB / 479.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.4394, allocations: 283.8 kB / 479.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.4394, allocations: 3.984 kB / 479.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008673/0.4403, allocations: 443.9 kB / 480.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.4403, allocations: 11.94 kB / 480.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4404, allocations: 0 / 480.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.4406, allocations: 41.7 kB / 480.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.4411, allocations: 79.83 kB / 480.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.4436, allocations: 2.766 MB / 483.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.444, allocations: 19.91 kB / 483.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.4441, allocations: 16 kB / 483.2 MB, free: 10.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.4443, allocations: 161.7 kB / 483.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.4444, allocations: 31.7 kB / 483.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.4451, allocations: 362.8 kB / 483.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4452, allocations: 4 kB / 483.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4452, allocations: 0 / 483.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006816/0.4459, allocations: 0.6149 MB / 484.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.4468, allocations: 0.7547 MB / 485.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4468, allocations: 4 kB / 485.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.4471, allocations: 51.95 kB / 485.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-05/0.4472, allocations: 24.88 kB / 485.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4472, allocations: 11.94 kB / 485.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.4481, allocations: 1.375 MB / 486.5 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4481, allocations: 0 / 486.5 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.4487, allocations: 0.5184 MB / 487.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.4488, allocations: 96.86 kB / 487.1 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.4488, allocations: 11.92 kB / 487.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.4491, allocations: 12 kB / 487.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4492, allocations: 23.78 kB / 487.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.4492, allocations: 20.05 kB / 487.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.4494, allocations: 182 kB / 487.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.4494, allocations: 0 / 487.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.4498, allocations: 111.9 kB / 487.5 MB, free: 5.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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): 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.0003458/0.4502, allocations: 139.2 kB / 487.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.4509, allocations: 469 kB / 488.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4509, allocations: 3.938 kB / 488.1 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.4511, allocations: 219.3 kB / 488.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.452, allocations: 159.2 kB / 488.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4531, allocations: 0.7827 MB / 489.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4535, allocations: 0.7645 MB / 490 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.4537, allocations: 58.88 kB / 490.1 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.4538, allocations: 27.44 kB / 490.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4538, allocations: 0 / 490.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of Templates: time 0.011/0.4648, allocations: 6.13 MB / 496.2 MB, free: 12.59 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches