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.001047/0.001047, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.0009874/0.0009875, allocations: 190 kB / 18.07 MB, free: 5.414 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.424/1.424, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001202/0.001202, allocations: 52.3 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08865, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3284/0.417, allocations: 141.8 MB / 468.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.4194, allocations: 1.722 MB / 470.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.4196, allocations: 4 kB / 470.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.4202, allocations: 147.2 kB / 470.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.4207, allocations: 314.5 kB / 470.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.4216, allocations: 393.3 kB / 471 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4228, allocations: 1.301 MB / 472.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.423, allocations: 85.36 kB / 472.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006003/0.4236, allocations: 350.7 kB / 472.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.424, allocations: 346.8 kB / 473.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.4241, allocations: 19.94 kB / 473.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.4245, allocations: 147.7 kB / 473.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.4246, allocations: 75.77 kB / 473.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.4248, allocations: 171.2 kB / 473.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.4253, allocations: 492.1 kB / 474 MB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4253, allocations: 0.9375 kB / 474 MB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4253, allocations: 0 / 474 MB, free: 4.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4253, allocations: 0 / 474 MB, free: 4.141 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.0009168/0.4262, allocations: 0.5894 MB / 474.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4263, allocations: 8.031 kB / 474.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.4266, allocations: 50.86 kB / 474.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.4269, allocations: 283.7 kB / 474.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.427, allocations: 16.94 kB / 474.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.427, allocations: 24.38 kB / 474.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.4275, allocations: 309.7 kB / 475.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4275, allocations: 3.938 kB / 475.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.4276, allocations: 12 kB / 475.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4276, allocations: 8 kB / 475.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.428, allocations: 202.1 kB / 475.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.4298, allocations: 1.296 MB / 476.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4302, allocations: 190.6 kB / 476.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4304, allocations: 88.83 kB / 477 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.4305, allocations: 166.2 kB / 477.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4306, allocations: 42.48 kB / 477.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.4306, allocations: 4 kB / 477.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002709/0.4333, allocations: 1.026 MB / 478.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4334, allocations: 59.34 kB / 478.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.4337, allocations: 262.6 kB / 478.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4337, allocations: 33.7 kB / 478.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.4338, allocations: 172.2 kB / 478.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.4339, allocations: 94.64 kB / 478.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.434, allocations: 69.47 kB / 478.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4342, allocations: 338.8 kB / 479.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4343, allocations: 75.97 kB / 479.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4346, allocations: 183.8 kB / 479.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.435, allocations: 283.8 kB / 479.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.435, allocations: 4 kB / 479.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006102/0.4356, allocations: 443.9 kB / 480.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4356, allocations: 4 kB / 480.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4356, allocations: 4 kB / 480.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.4358, allocations: 45.64 kB / 480.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.4362, allocations: 79.84 kB / 480.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.4379, allocations: 2.572 MB / 482.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.4382, allocations: 16 kB / 482.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.4382, allocations: 24.14 kB / 483 MB, free: 10.32 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.0001764/0.4384, allocations: 149.7 kB / 483.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.4385, allocations: 31.62 kB / 483.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.4391, allocations: 363.5 kB / 483.5 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4391, allocations: 8 kB / 483.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4391, allocations: 0 / 483.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005875/0.4397, allocations: 0.611 MB / 484.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4408, allocations: 0.7586 MB / 484.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4409, allocations: 32 / 484.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.4412, allocations: 51.97 kB / 484.9 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.602e-05/0.4412, allocations: 24.78 kB / 485 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4413, allocations: 11.94 kB / 485 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.4423, allocations: 1.277 MB / 486.2 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4423, allocations: 4.031 kB / 486.2 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.4429, allocations: 0.5224 MB / 486.8 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.443, allocations: 100.8 kB / 486.9 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.4431, allocations: 9.484 kB / 486.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.4434, allocations: 12 kB / 486.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.4434, allocations: 19.95 kB / 486.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4434, allocations: 15.98 kB / 486.9 MB, free: 5.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.4436, allocations: 186 kB / 487.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4436, allocations: 3.938 kB / 487.1 MB, free: 5.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.4441, allocations: 111.9 kB / 487.2 MB, free: 5.648 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.0003312/0.4445, allocations: 131.2 kB / 487.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.4451, allocations: 453.5 kB / 487.8 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4452, allocations: 0 / 487.8 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.4454, allocations: 222.4 kB / 488 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/0.4463, allocations: 160.8 kB / 488.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4475, allocations: 0.7726 MB / 488.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4479, allocations: 0.7645 MB / 489.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.4482, allocations: 54.95 kB / 489.8 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.4482, allocations: 35.42 kB / 489.8 MB, free: 2.977 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4483, allocations: 0 / 489.8 MB, free: 2.977 MB / 382.1 MB Notification: Performance of Templates: time 0.01006/0.4583, allocations: 5.91 MB / 495.7 MB, free: 13.07 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