Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007996, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008979/0.000898, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.24 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4168/0.5402, allocations: 144 MB / 0.6018 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007864/0.5481, allocations: 5.658 MB / 0.6074 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.5493, allocations: 23.81 kB / 0.6074 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.5506, allocations: 286.4 kB / 0.6077 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.5532, allocations: 0.8204 MB / 0.6085 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.556, allocations: 0.9329 MB / 0.6094 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002992/0.5591, allocations: 2.663 MB / 0.612 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.5597, allocations: 407.7 kB / 0.6124 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.5608, allocations: 0.6615 MB / 0.613 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.5619, allocations: 0.728 MB / 0.6137 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.641e-05/0.562, allocations: 39.94 kB / 0.6138 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.5633, allocations: 0.5224 MB / 0.6143 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5636, allocations: 235.3 kB / 0.6145 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.5641, allocations: 399.9 kB / 0.6149 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.5655, allocations: 1.088 MB / 0.6159 GB, free: 3.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5655, allocations: 0 / 0.6159 GB, free: 3.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5655, allocations: 0 / 0.6159 GB, free: 3.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.5655, allocations: 4 kB / 0.6159 GB, free: 3.566 MB / 446.1 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.001928/0.5674, allocations: 0.9199 MB / 0.6168 GB, free: 2.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5675, allocations: 11.97 kB / 0.6169 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.5679, allocations: 92.08 kB / 0.6169 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.5686, allocations: 0.5131 MB / 0.6174 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5687, allocations: 105 kB / 0.6175 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.5688, allocations: 44.56 kB / 0.6176 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5701, allocations: 0.8249 MB / 0.6184 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5701, allocations: 3.938 kB / 0.6184 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.5702, allocations: 24 kB / 0.6184 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.5703, allocations: 36.98 kB / 0.6185 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.5714, allocations: 0.6517 MB / 0.6191 GB, free: 184 kB / 446.1 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.004479/0.5758, allocations: 3.955 MB / 0.623 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.5766, allocations: 428.2 kB / 0.6234 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.577, allocations: 197.4 kB / 0.6236 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/0.5776, allocations: 0.7366 MB / 0.6243 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.5776, allocations: 42.89 kB / 0.6243 GB, free: 10.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.235e-06/0.5776, allocations: 0 / 0.6243 GB, free: 10.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003097/0.5807, allocations: 1.553 MB / 0.6258 GB, free: 8.734 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.5808, allocations: 136.5 kB / 0.626 GB, free: 8.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.5814, allocations: 0.5654 MB / 0.6265 GB, free: 7.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.5815, allocations: 37.7 kB / 0.6265 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.5818, allocations: 358.9 kB / 0.6269 GB, free: 7.598 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.5819, allocations: 161.7 kB / 0.627 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.582, allocations: 57.69 kB / 0.6271 GB, free: 7.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5821, allocations: 378.8 kB / 0.6275 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.5825, allocations: 221.8 kB / 0.6277 GB, free: 6.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.5831, allocations: 0.5162 MB / 0.6282 GB, free: 6.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.584, allocations: 0.7562 MB / 0.6289 GB, free: 5.238 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.5841, allocations: 4 kB / 0.6289 GB, free: 5.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001585/0.5856, allocations: 0.9138 MB / 0.6298 GB, free: 4.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5857, allocations: 16.94 kB / 0.6298 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5857, allocations: 8 kB / 0.6298 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.5872, allocations: 284.6 kB / 0.6301 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.5876, allocations: 123.8 kB / 0.6302 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.5886, allocations: 0.8858 MB / 0.6311 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.5891, allocations: 51.95 kB / 0.6311 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.5892, allocations: 47.92 kB / 0.6312 GB, free: 2.879 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003204/0.5895, allocations: 250 kB / 0.6314 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5896, allocations: 63.25 kB / 0.6315 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.5909, allocations: 0.7704 MB / 0.6322 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5909, allocations: 8 kB / 0.6322 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5909, allocations: 0 / 0.6322 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5909, allocations: 0 / 0.6322 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.5928, allocations: 1.411 MB / 0.6336 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5928, allocations: 4 kB / 0.6336 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.5939, allocations: 200 kB / 0.6338 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.594, allocations: 28.84 kB / 0.6338 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.594, allocations: 11.98 kB / 0.6339 GB, free: 0 / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.5959, allocations: 2.691 MB / 0.6365 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5959, allocations: 4.031 kB / 0.6365 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.5973, allocations: 1.007 MB / 0.6375 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.5976, allocations: 212.1 kB / 0.6377 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/0.5977, allocations: 8 kB / 0.6377 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.5981, allocations: 39.98 kB / 0.6377 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.5982, allocations: 35.89 kB / 0.6378 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.5983, allocations: 27.97 kB / 0.6378 GB, free: 11.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.5987, allocations: 427 kB / 0.6382 GB, free: 11.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5987, allocations: 0 / 0.6382 GB, free: 11.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007467/0.5995, allocations: 224 kB / 0.6384 GB, free: 11.01 MB / 478.1 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005277/0.6, allocations: 272.4 kB / 0.6387 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.6012, allocations: 0.5982 MB / 0.6392 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6012, allocations: 0 / 0.6392 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6023, allocations: 460.8 kB / 0.6397 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.6042, allocations: 356.1 kB / 0.64 GB, free: 9.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.6063, allocations: 1.689 MB / 0.6417 GB, free: 7.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.6068, allocations: 0.9388 MB / 0.6426 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006507/0.6074, allocations: 205.7 kB / 0.6428 GB, free: 6.449 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.6076, allocations: 71.36 kB / 0.6429 GB, free: 6.379 MB / 478.1 MB Notification: Performance of SimCode: time 3.6e-07/0.6076, allocations: 0 / 0.6429 GB, free: 6.379 MB / 478.1 MB Notification: Performance of Templates: time 0.02491/0.6325, allocations: 14.81 MB / 0.6573 GB, free: 7.734 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches