Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 108.5 kB / 17.03 MB, free: 5.66 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.001437/0.001437, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.379/1.379, allocations: 205.1 MB / 223.8 MB, free: 12.22 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.2088/0.2088, allocations: 43.52 MB / 314.7 MB, free: 468 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.00144/0.00144, allocations: 75.72 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09621, allocations: 57.8 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3609/0.4571, allocations: 136.1 MB / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.4615, allocations: 4.717 MB / 0.5691 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.4616, allocations: 1.156 kB / 0.5691 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.462, allocations: 68.05 kB / 0.5692 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.4637, allocations: 0.7227 MB / 0.5699 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.4641, allocations: 161 kB / 0.5701 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.4647, allocations: 371.2 kB / 0.5704 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.4648, allocations: 19.67 kB / 0.5704 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.465, allocations: 155.9 kB / 0.5706 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.4652, allocations: 188.7 kB / 0.5708 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.4653, allocations: 8.344 kB / 0.5708 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.4665, allocations: 0.6833 MB / 0.5714 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.4665, allocations: 48.53 kB / 0.5715 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.4667, allocations: 108.4 kB / 0.5716 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.4674, allocations: 463.9 kB / 0.572 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4674, allocations: 0 / 0.572 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4674, allocations: 0 / 0.572 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4674, allocations: 0 / 0.572 GB, free: 13.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001026/0.4684, allocations: 0.5974 MB / 0.5726 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4685, allocations: 13.92 kB / 0.5726 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4687, allocations: 28.84 kB / 0.5727 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.469, allocations: 225.8 kB / 0.5729 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.4691, allocations: 127.2 kB / 0.573 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.4692, allocations: 22.94 kB / 0.573 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.4696, allocations: 321.5 kB / 0.5733 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4697, allocations: 3.938 kB / 0.5733 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.4697, allocations: 11.53 kB / 0.5733 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.4697, allocations: 8.375 kB / 0.5733 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.4704, allocations: 0.7428 MB / 0.5741 GB, free: 12.12 MB / 430.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.001252/0.4716, allocations: 1.225 MB / 0.5753 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.472, allocations: 172.2 kB / 0.5754 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4722, allocations: 83.69 kB / 0.5755 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/0.4744, allocations: 2.709 MB / 0.5782 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4744, allocations: 33.53 kB / 0.5782 GB, free: 8.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4744, allocations: 4 kB / 0.5782 GB, free: 8.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006218/0.4751, allocations: 213.3 kB / 0.5784 GB, free: 8.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4751, allocations: 58.16 kB / 0.5785 GB, free: 8.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4753, allocations: 219.4 kB / 0.5787 GB, free: 8.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4753, allocations: 28.64 kB / 0.5787 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4754, allocations: 213.5 kB / 0.5789 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.4755, allocations: 51.78 kB / 0.5789 GB, free: 7.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.4756, allocations: 87.55 kB / 0.579 GB, free: 7.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4757, allocations: 332.4 kB / 0.5793 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.4758, allocations: 47.16 kB / 0.5794 GB, free: 7.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.476, allocations: 332.5 kB / 0.5797 GB, free: 7.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.4764, allocations: 432.5 kB / 0.5801 GB, free: 6.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4764, allocations: 2.75 kB / 0.5801 GB, free: 6.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004927/0.4769, allocations: 379.6 kB / 0.5805 GB, free: 6.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4769, allocations: 13.25 kB / 0.5805 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.477, allocations: 9.438 kB / 0.5805 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.477, allocations: 15.72 kB / 0.5805 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.4773, allocations: 109.6 kB / 0.5806 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.4773, allocations: 23.06 kB / 0.5806 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.4776, allocations: 17.44 kB / 0.5807 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.4776, allocations: 28.38 kB / 0.5807 GB, free: 6.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.4777, allocations: 150.2 kB / 0.5808 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.4778, allocations: 24.53 kB / 0.5809 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.4781, allocations: 147.8 kB / 0.581 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4781, allocations: 6.188 kB / 0.581 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4781, allocations: 3.234 kB / 0.581 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4781, allocations: 3.938 kB / 0.581 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.4786, allocations: 449.8 kB / 0.5814 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4786, allocations: 3.938 kB / 0.5814 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4788, allocations: 27.34 kB / 0.5815 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4788, allocations: 0 / 0.5815 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4788, allocations: 9.516 kB / 0.5815 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4788, allocations: 2.625 kB / 0.5815 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4788, allocations: 0 / 0.5815 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.479, allocations: 221.5 kB / 0.5817 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.4791, allocations: 102.5 kB / 0.5818 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.4792, allocations: 9.625 kB / 0.5818 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.4794, allocations: 11.64 kB / 0.5818 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.4794, allocations: 8.203 kB / 0.5818 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.4795, allocations: 10.88 kB / 0.5818 GB, free: 5.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4796, allocations: 152.2 kB / 0.582 GB, free: 5.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4796, allocations: 0 / 0.582 GB, free: 5.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.4801, allocations: 89.62 kB / 0.5821 GB, free: 5.691 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.4803, allocations: 160.3 kB / 0.5822 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4806, allocations: 190.3 kB / 0.5824 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4806, allocations: 0 / 0.5824 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.4807, allocations: 34.98 kB / 0.5824 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4811, allocations: 60.75 kB / 0.5825 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.4819, allocations: 489.8 kB / 0.583 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4822, allocations: 0.7282 MB / 0.5837 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.4823, allocations: 50.72 kB / 0.5837 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.4824, allocations: 29.69 kB / 0.5837 GB, free: 4.562 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.4824, allocations: 0 / 0.5837 GB, free: 4.562 MB / 430.1 MB Notification: Performance of Templates: time 0.006233/0.4886, allocations: 3.149 MB / 0.5868 GB, free: 3.078 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches