Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001267/0.001267, allocations: 113.4 kB / 17.78 MB, free: 5.285 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.001312/0.001312, allocations: 188.9 kB / 18.71 MB, free: 4.363 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2086/0.2086, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3846, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1684/0.553, allocations: 136.1 MB / 0.6519 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006663/0.5597, allocations: 4.707 MB / 0.6565 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.5601, allocations: 4 kB / 0.6565 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.5607, allocations: 59.58 kB / 0.6565 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.5635, allocations: 0.7267 MB / 0.6573 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.564, allocations: 155.5 kB / 0.6574 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.5648, allocations: 378.2 kB / 0.6578 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.455e-05/0.5649, allocations: 9.688 kB / 0.6578 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.5653, allocations: 163.3 kB / 0.6579 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.5657, allocations: 187.4 kB / 0.6581 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.5657, allocations: 8 kB / 0.6581 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.5673, allocations: 0.6863 MB / 0.6588 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5674, allocations: 51.8 kB / 0.6588 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.5676, allocations: 111.5 kB / 0.6589 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.5688, allocations: 460.6 kB / 0.6594 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5688, allocations: 4 kB / 0.6594 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5688, allocations: 0 / 0.6594 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.5688, allocations: 0 / 0.6594 GB, free: 11.68 MB / 0.5137 GB 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.001227/0.57, allocations: 0.5891 MB / 0.66 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.5701, allocations: 12.03 kB / 0.66 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.5703, allocations: 28.73 kB / 0.66 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.5707, allocations: 228 kB / 0.6602 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.5708, allocations: 123.9 kB / 0.6603 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.5709, allocations: 24.38 kB / 0.6604 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.5714, allocations: 322.7 kB / 0.6607 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5714, allocations: 0 / 0.6607 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.5715, allocations: 12 kB / 0.6607 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.5715, allocations: 12 kB / 0.6607 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.5723, allocations: 0.7429 MB / 0.6614 GB, free: 9.465 MB / 0.5137 GB 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.001329/0.5736, allocations: 1.218 MB / 0.6626 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.574, allocations: 167.8 kB / 0.6628 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.5742, allocations: 97.36 kB / 0.6629 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.5765, allocations: 2.695 MB / 0.6655 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5766, allocations: 38.56 kB / 0.6655 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.5766, allocations: 0 / 0.6655 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006058/0.5772, allocations: 228.3 kB / 0.6657 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5772, allocations: 51.41 kB / 0.6658 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.5774, allocations: 215 kB / 0.666 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.5774, allocations: 29.7 kB / 0.666 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5776, allocations: 214.7 kB / 0.6662 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.5776, allocations: 55.34 kB / 0.6663 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.5777, allocations: 82.03 kB / 0.6664 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5778, allocations: 330.8 kB / 0.6667 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.5779, allocations: 52.78 kB / 0.6667 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.5782, allocations: 328 kB / 0.667 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.5786, allocations: 434 kB / 0.6675 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5786, allocations: 0 / 0.6675 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000541/0.5791, allocations: 389.4 kB / 0.6678 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5792, allocations: 10.81 kB / 0.6678 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.5792, allocations: 12 kB / 0.6679 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.5792, allocations: 15.94 kB / 0.6679 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.5795, allocations: 111.8 kB / 0.668 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.5796, allocations: 15.94 kB / 0.668 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.5798, allocations: 19.94 kB / 0.668 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.5798, allocations: 24.31 kB / 0.668 GB, free: 1.715 MB / 0.5137 GB 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.0001304/0.58, allocations: 165.5 kB / 0.6682 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.58, allocations: 19.81 kB / 0.6682 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.5803, allocations: 147.8 kB / 0.6683 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5804, allocations: 4 kB / 0.6684 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5804, allocations: 0 / 0.6684 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5804, allocations: 0 / 0.6684 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.5809, allocations: 448 kB / 0.6688 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5809, allocations: 0 / 0.6688 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.5811, allocations: 27.98 kB / 0.6688 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5811, allocations: 0 / 0.6688 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.5811, allocations: 4 kB / 0.6688 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.5811, allocations: 4.062 kB / 0.6688 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5811, allocations: 3.984 kB / 0.6688 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.5813, allocations: 224.9 kB / 0.669 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.5814, allocations: 100.8 kB / 0.6691 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.5815, allocations: 7.938 kB / 0.6691 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5817, allocations: 15.98 kB / 0.6692 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.5817, allocations: 15.98 kB / 0.6692 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.5817, allocations: 4 kB / 0.6692 GB, free: 428 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001067/0.5818, allocations: 148.5 kB / 0.6693 GB, free: 284 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5819, allocations: 0 / 0.6693 GB, free: 284 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004734/0.5823, allocations: 95.94 kB / 0.6694 GB, free: 188 kB / 0.5137 GB 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.0002819/0.5826, allocations: 159.2 kB / 0.6696 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.583, allocations: 182 kB / 0.6697 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.583, allocations: 4 kB / 0.6697 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.5831, allocations: 31.92 kB / 0.6698 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.5835, allocations: 52.92 kB / 0.6698 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.5845, allocations: 490.9 kB / 0.6703 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.5849, allocations: 0.7285 MB / 0.671 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000205/0.5851, allocations: 54.83 kB / 0.671 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.5852, allocations: 27.42 kB / 0.6711 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.5852, allocations: 0 / 0.6711 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.007407/0.5926, allocations: 3.216 MB / 0.6742 GB, free: 11.23 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches