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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 113.6 kB / 17.28 MB, free: 6.219 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.0009802/0.0009803, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.363/1.363, allocations: 205.1 MB / 224 MB, free: 12.45 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.00131/0.00131, allocations: 55.91 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09367, allocations: 46.63 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3632/0.4569, allocations: 142 MB / 468.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.4601, allocations: 1.717 MB / 470.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.4603, allocations: 7.938 kB / 470.6 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.4609, allocations: 159.1 kB / 470.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.4615, allocations: 302.5 kB / 471.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009453/0.4624, allocations: 396.7 kB / 471.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008279/0.4633, allocations: 0.8484 MB / 472.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.4635, allocations: 104.6 kB / 472.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.4641, allocations: 390.7 kB / 472.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.4644, allocations: 350.8 kB / 473.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.4645, allocations: 28 kB / 473.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.4648, allocations: 139.7 kB / 473.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4649, allocations: 91.78 kB / 473.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.4651, allocations: 191.2 kB / 473.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.4656, allocations: 496.4 kB / 474.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4656, allocations: 0 / 474.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4656, allocations: 0 / 474.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.4656, allocations: 0 / 474.1 MB, free: 4.172 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.0008053/0.4664, allocations: 0.5934 MB / 474.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4665, allocations: 8.031 kB / 474.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.022e-05/0.4666, allocations: 66.66 kB / 474.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.4668, allocations: 44.55 kB / 474.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.4672, allocations: 287.7 kB / 475 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4672, allocations: 20.94 kB / 475.1 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.4672, allocations: 24.56 kB / 475.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.4677, allocations: 301.3 kB / 475.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.4677, allocations: 4 kB / 475.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.4678, allocations: 8 kB / 475.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4678, allocations: 8 kB / 475.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.4681, allocations: 206.1 kB / 475.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.4698, allocations: 1.289 MB / 476.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.4701, allocations: 190.6 kB / 477.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4703, allocations: 92.83 kB / 477.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.4704, allocations: 162.2 kB / 477.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4705, allocations: 38.56 kB / 477.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 3.386e-06/0.4705, allocations: 3.984 kB / 477.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002434/0.4729, allocations: 1.039 MB / 478.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.473, allocations: 55.41 kB / 478.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4732, allocations: 254.6 kB / 478.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.4733, allocations: 33.7 kB / 478.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4734, allocations: 176.2 kB / 478.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.4735, allocations: 94.64 kB / 479 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.4736, allocations: 77.31 kB / 479.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4737, allocations: 338.8 kB / 479.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4739, allocations: 75.97 kB / 479.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.4741, allocations: 183.7 kB / 479.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.4744, allocations: 287.8 kB / 479.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4744, allocations: 4 kB / 480 MB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005763/0.475, allocations: 443.9 kB / 480.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.475, allocations: 11.98 kB / 480.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4751, allocations: 0 / 480.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.4752, allocations: 39.27 kB / 480.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.4755, allocations: 80.12 kB / 480.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.4775, allocations: 2.761 MB / 483.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.4778, allocations: 27.89 kB / 483.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4778, allocations: 12 kB / 483.3 MB, free: 10.07 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.0001608/0.478, allocations: 162 kB / 483.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.478, allocations: 27.72 kB / 483.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.4786, allocations: 359.3 kB / 483.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4786, allocations: 7.984 kB / 483.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4786, allocations: 4 kB / 483.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005367/0.4791, allocations: 0.6148 MB / 484.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009397/0.4801, allocations: 0.7508 MB / 485.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4801, allocations: 4 kB / 485.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4804, allocations: 63.92 kB / 485.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.097e-05/0.4805, allocations: 16.86 kB / 485.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.4805, allocations: 11.98 kB / 485.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008885/0.4814, allocations: 1.371 MB / 486.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4814, allocations: 4.031 kB / 486.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.482, allocations: 0.5223 MB / 487.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.4821, allocations: 100.8 kB / 487.3 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.4821, allocations: 4 kB / 487.3 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.4824, allocations: 15.98 kB / 487.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.4825, allocations: 18.61 kB / 487.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4825, allocations: 15.98 kB / 487.4 MB, free: 5.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.4826, allocations: 190 kB / 487.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4827, allocations: 0 / 487.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000422/0.4831, allocations: 103.9 kB / 487.7 MB, free: 5.301 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.001262/0.4843, allocations: 1.09 MB / 488.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.485, allocations: 469.5 kB / 489.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4851, allocations: 4 kB / 489.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.4853, allocations: 215 kB / 489.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.4862, allocations: 169 kB / 489.6 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.49, allocations: 3.346 MB / 492.9 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4903, allocations: 0.7645 MB / 493.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000292/0.4906, allocations: 58.94 kB / 493.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4908, allocations: 87.41 kB / 493.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4908, allocations: 0 / 493.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.5407, allocations: 9.064 MB / 0.4911 GB, free: 5.715 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.5409, allocations: 248.7 kB / 0.4914 GB, free: 5.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.578, allocations: 3.938 kB / 0.4914 GB, free: 5.453 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > 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/jenkins1/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