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.001235/0.001235, allocations: 104.5 kB / 16.27 MB, free: 6.047 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.001322/0.001322, allocations: 193.7 kB / 17.2 MB, free: 5.691 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.782/1.782, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2248/0.2248, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.001856/0.001856, allocations: 72.98 kB / 382.7 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1401, allocations: 57.78 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4954/0.6355, allocations: 136.1 MB / 0.5631 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.6412, allocations: 4.716 MB / 0.5677 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.6414, allocations: 3.766 kB / 0.5677 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.6418, allocations: 61.23 kB / 0.5678 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.6439, allocations: 0.7284 MB / 0.5685 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.6443, allocations: 161.8 kB / 0.5687 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.6449, allocations: 374.5 kB / 0.569 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.645, allocations: 13.44 kB / 0.569 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.6452, allocations: 151.5 kB / 0.5692 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.6455, allocations: 194.7 kB / 0.5694 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.6455, allocations: 10.22 kB / 0.5694 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.6468, allocations: 0.6825 MB / 0.57 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6469, allocations: 50.22 kB / 0.5701 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.647, allocations: 104 kB / 0.5702 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.6477, allocations: 458.6 kB / 0.5706 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6478, allocations: 0 / 0.5706 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6478, allocations: 0 / 0.5706 GB, free: 12.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.6478, allocations: 1.203 kB / 0.5706 GB, free: 12.82 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.001055/0.6488, allocations: 0.5993 MB / 0.5712 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6489, allocations: 16.25 kB / 0.5712 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.6491, allocations: 28.34 kB / 0.5712 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.6493, allocations: 223 kB / 0.5715 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.6495, allocations: 125.2 kB / 0.5716 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.6495, allocations: 21.81 kB / 0.5716 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.65, allocations: 323.3 kB / 0.5719 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.65, allocations: 2.125 kB / 0.5719 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.65, allocations: 13.5 kB / 0.5719 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.6501, allocations: 9.562 kB / 0.5719 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.6508, allocations: 0.7381 MB / 0.5727 GB, free: 11.92 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.001326/0.6522, allocations: 1.228 MB / 0.5739 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.6526, allocations: 182 kB / 0.574 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.6528, allocations: 82.7 kB / 0.5741 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002435/0.6552, allocations: 2.701 MB / 0.5767 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.6552, allocations: 37.03 kB / 0.5768 GB, free: 8.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.6553, allocations: 4 kB / 0.5768 GB, free: 8.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006208/0.6559, allocations: 213.6 kB / 0.577 GB, free: 8.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6559, allocations: 60.88 kB / 0.577 GB, free: 7.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.6561, allocations: 214.4 kB / 0.5772 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.6562, allocations: 36.66 kB / 0.5773 GB, free: 7.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.6563, allocations: 208.7 kB / 0.5775 GB, free: 7.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.6564, allocations: 51.31 kB / 0.5775 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.6565, allocations: 85.2 kB / 0.5776 GB, free: 7.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6567, allocations: 336.8 kB / 0.5779 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.6568, allocations: 42.61 kB / 0.578 GB, free: 7.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.6571, allocations: 338.4 kB / 0.5783 GB, free: 6.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.6576, allocations: 426.8 kB / 0.5787 GB, free: 6.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6576, allocations: 5.062 kB / 0.5787 GB, free: 6.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005546/0.6581, allocations: 373.3 kB / 0.5791 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6582, allocations: 14.22 kB / 0.5791 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6582, allocations: 10.73 kB / 0.5791 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.6582, allocations: 14.86 kB / 0.5791 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.6585, allocations: 115.4 kB / 0.5792 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.6586, allocations: 23 kB / 0.5792 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.6588, allocations: 15.06 kB / 0.5792 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.6588, allocations: 29.72 kB / 0.5793 GB, free: 6.379 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.000143/0.659, allocations: 152 kB / 0.5794 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.659, allocations: 21.38 kB / 0.5794 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.6594, allocations: 141.2 kB / 0.5796 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6594, allocations: 6.844 kB / 0.5796 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6594, allocations: 2.531 kB / 0.5796 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6594, allocations: 5.094 kB / 0.5796 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.66, allocations: 455.2 kB / 0.58 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.66, allocations: 1.203 kB / 0.58 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.6601, allocations: 32.12 kB / 0.5801 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.6601, allocations: 2 kB / 0.5801 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6602, allocations: 3.219 kB / 0.5801 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6602, allocations: 0 / 0.5801 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6602, allocations: 4.062 kB / 0.5801 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.6604, allocations: 220.9 kB / 0.5803 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.6606, allocations: 100.2 kB / 0.5804 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.6606, allocations: 18.03 kB / 0.5804 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.6608, allocations: 7.266 kB / 0.5804 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.6608, allocations: 14.38 kB / 0.5804 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6609, allocations: 7.562 kB / 0.5804 GB, free: 5.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.661, allocations: 151.1 kB / 0.5806 GB, free: 5.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.661, allocations: 0 / 0.5806 GB, free: 5.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005009/0.6615, allocations: 89.5 kB / 0.5806 GB, free: 5.488 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.0004189/0.662, allocations: 157.9 kB / 0.5808 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.6623, allocations: 190.1 kB / 0.581 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6623, allocations: 1.875 kB / 0.581 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.6623, allocations: 33.25 kB / 0.581 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.6628, allocations: 58.11 kB / 0.5811 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.6637, allocations: 497.6 kB / 0.5815 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.664, allocations: 0.728 MB / 0.5823 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.6642, allocations: 54.23 kB / 0.5823 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.6643, allocations: 30.86 kB / 0.5823 GB, free: 4.355 MB / 430.1 MB Notification: Performance of SimCode: time 2.043e-06/0.6643, allocations: 3.938 kB / 0.5823 GB, free: 4.352 MB / 430.1 MB Notification: Performance of Templates: time 0.007111/0.6714, allocations: 3.146 MB / 0.5854 GB, free: 2.891 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/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