Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.00175/0.001751, allocations: 111.5 kB / 17.08 MB, free: 5.816 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.001804/0.001804, allocations: 194.4 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.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.001445/0.001445, allocations: 71.88 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.41/0.5186, allocations: 147.6 MB / 0.6327 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008046/0.5267, allocations: 5.587 MB / 0.6381 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.5275, allocations: 19.88 kB / 0.6382 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5287, allocations: 321.9 kB / 0.6385 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.5311, allocations: 0.8551 MB / 0.6393 GB, free: 224 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.5341, allocations: 1.031 MB / 0.6403 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.5365, allocations: 1.798 MB / 0.6421 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.5374, allocations: 461.1 kB / 0.6425 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.5391, allocations: 0.763 MB / 0.6432 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.5405, allocations: 0.7047 MB / 0.6439 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.5408, allocations: 64 kB / 0.644 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.5422, allocations: 0.5381 MB / 0.6445 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.5427, allocations: 271.2 kB / 0.6448 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000833/0.5435, allocations: 394.2 kB / 0.6452 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.5454, allocations: 1.128 MB / 0.6463 GB, free: 9.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.5454, allocations: 0 / 0.6463 GB, free: 9.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5454, allocations: 0 / 0.6463 GB, free: 9.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.5454, allocations: 0 / 0.6463 GB, free: 9.082 MB / 494.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.002854/0.5483, allocations: 1.052 MB / 0.6473 GB, free: 7.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5484, allocations: 12.03 kB / 0.6473 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.5488, allocations: 95.98 kB / 0.6474 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5498, allocations: 0.5405 MB / 0.6479 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5499, allocations: 101 kB / 0.648 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.55, allocations: 56.48 kB / 0.6481 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.5513, allocations: 0.826 MB / 0.6489 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.5513, allocations: 0 / 0.6489 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.5514, allocations: 24 kB / 0.6489 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.5515, allocations: 36.98 kB / 0.6489 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.5525, allocations: 0.6517 MB / 0.6496 GB, free: 5.531 MB / 494.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.004488/0.557, allocations: 3.959 MB / 0.6534 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.5578, allocations: 432.1 kB / 0.6538 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.5581, allocations: 201.4 kB / 0.654 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.5587, allocations: 0.7405 MB / 0.6548 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.5588, allocations: 42.83 kB / 0.6548 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.155e-06/0.5588, allocations: 0 / 0.6548 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003185/0.562, allocations: 1.539 MB / 0.6563 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.5621, allocations: 132.5 kB / 0.6564 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.5628, allocations: 0.5731 MB / 0.657 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.5628, allocations: 33.7 kB / 0.657 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.5631, allocations: 351.1 kB / 0.6574 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5632, allocations: 169.6 kB / 0.6575 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.5634, allocations: 138.6 kB / 0.6577 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5636, allocations: 374.8 kB / 0.658 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.5639, allocations: 217.9 kB / 0.6582 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.5646, allocations: 0.5123 MB / 0.6587 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.5656, allocations: 0.7612 MB / 0.6595 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5656, allocations: 0 / 0.6595 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001706/0.5673, allocations: 0.9139 MB / 0.6604 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.5674, allocations: 18.84 kB / 0.6604 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.5674, allocations: 12 kB / 0.6604 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.5689, allocations: 280.6 kB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.5692, allocations: 123.8 kB / 0.6608 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009997/0.5703, allocations: 0.8879 MB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.5707, allocations: 28 kB / 0.6617 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.5708, allocations: 35.62 kB / 0.6617 GB, free: 8.199 MB / 0.4981 GB 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.0003403/0.5711, allocations: 253.5 kB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5713, allocations: 67.16 kB / 0.662 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.5726, allocations: 0.7729 MB / 0.6628 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5726, allocations: 7.984 kB / 0.6628 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5726, allocations: 0 / 0.6628 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5726, allocations: 4 kB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.5746, allocations: 1.415 MB / 0.6641 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5746, allocations: 0 / 0.6641 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5756, allocations: 200 kB / 0.6643 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.705e-05/0.5757, allocations: 32.72 kB / 0.6644 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.5758, allocations: 19.98 kB / 0.6644 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.578, allocations: 2.861 MB / 0.6672 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.578, allocations: 7.969 kB / 0.6672 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.5793, allocations: 1.012 MB / 0.6682 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.5797, allocations: 212.9 kB / 0.6684 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.5798, allocations: 8 kB / 0.6684 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.5802, allocations: 19.98 kB / 0.6684 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.5803, allocations: 43.67 kB / 0.6685 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.5803, allocations: 23.98 kB / 0.6685 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004841/0.5808, allocations: 427 kB / 0.6689 GB, free: 336 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5808, allocations: 4 kB / 0.6689 GB, free: 332 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007868/0.5816, allocations: 220 kB / 0.6691 GB, free: 112 kB / 0.4981 GB 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.0006014/0.5822, allocations: 260.6 kB / 0.6693 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.5835, allocations: 0.6071 MB / 0.6699 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5835, allocations: 3.938 kB / 0.6699 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5845, allocations: 446.7 kB / 0.6704 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.5862, allocations: 369.9 kB / 0.6707 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.5884, allocations: 1.412 MB / 0.6721 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.589, allocations: 0.9385 MB / 0.673 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.5892, allocations: 67.42 kB / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.5892, allocations: 0 / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.02243/0.6116, allocations: 15.97 MB / 0.6887 GB, free: 11.99 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches