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.001301/0.001301, allocations: 108.7 kB / 17.04 MB, free: 6.027 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.001263/0.001263, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.682/1.682, allocations: 205.1 MB / 223.9 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.2274/0.2274, allocations: 43.52 MB / 314.7 MB, free: 476 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.001753/0.001753, allocations: 68.94 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1115, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4365/0.548, allocations: 136.1 MB / 0.5646 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.5537, allocations: 4.721 MB / 0.5692 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.554, allocations: 1.438 kB / 0.5692 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.5546, allocations: 56.16 kB / 0.5692 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.5569, allocations: 0.7239 MB / 0.5699 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.5573, allocations: 167.2 kB / 0.5701 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006288/0.558, allocations: 377.4 kB / 0.5704 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.5581, allocations: 10.28 kB / 0.5705 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.5583, allocations: 151.1 kB / 0.5706 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.5587, allocations: 194.7 kB / 0.5708 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.5587, allocations: 10.88 kB / 0.5708 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.5604, allocations: 0.6784 MB / 0.5715 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.5606, allocations: 46.11 kB / 0.5715 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.5607, allocations: 112.3 kB / 0.5716 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008952/0.5616, allocations: 460 kB / 0.572 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5617, allocations: 0 / 0.572 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5617, allocations: 1.094 kB / 0.572 GB, free: 12.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.5617, allocations: 3.938 kB / 0.572 GB, free: 12.95 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.00112/0.5628, allocations: 0.5963 MB / 0.5726 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5629, allocations: 13.3 kB / 0.5726 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.563, allocations: 32.38 kB / 0.5727 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.5634, allocations: 223.5 kB / 0.5729 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5636, allocations: 125.8 kB / 0.573 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5636, allocations: 20.47 kB / 0.573 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.5641, allocations: 331.8 kB / 0.5733 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5641, allocations: 1.203 kB / 0.5733 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.5641, allocations: 11.52 kB / 0.5734 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5642, allocations: 7.438 kB / 0.5734 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.5649, allocations: 0.7406 MB / 0.5741 GB, free: 12.05 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.001293/0.5662, allocations: 1.221 MB / 0.5753 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.5665, allocations: 172.5 kB / 0.5754 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.5667, allocations: 92.8 kB / 0.5755 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/0.5691, allocations: 2.703 MB / 0.5782 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5691, allocations: 34.5 kB / 0.5782 GB, free: 8.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5691, allocations: 2.625 kB / 0.5782 GB, free: 8.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005654/0.5697, allocations: 206.4 kB / 0.5784 GB, free: 8.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.5697, allocations: 62.19 kB / 0.5785 GB, free: 8.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.5699, allocations: 224.1 kB / 0.5787 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5699, allocations: 27.92 kB / 0.5787 GB, free: 7.949 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5701, allocations: 213.4 kB / 0.5789 GB, free: 7.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.5701, allocations: 52.38 kB / 0.579 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.5702, allocations: 84.55 kB / 0.579 GB, free: 7.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5703, allocations: 327.4 kB / 0.5793 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.5704, allocations: 51.95 kB / 0.5794 GB, free: 7.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.5707, allocations: 332.6 kB / 0.5797 GB, free: 7.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.5711, allocations: 432.7 kB / 0.5801 GB, free: 6.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5711, allocations: 3.953 kB / 0.5801 GB, free: 6.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004805/0.5716, allocations: 379.3 kB / 0.5805 GB, free: 6.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5716, allocations: 9.844 kB / 0.5805 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5716, allocations: 10.03 kB / 0.5805 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5716, allocations: 14.95 kB / 0.5805 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.572, allocations: 111.6 kB / 0.5806 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.572, allocations: 21.39 kB / 0.5807 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.5722, allocations: 20.25 kB / 0.5807 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.5722, allocations: 26.75 kB / 0.5807 GB, free: 6.504 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.0001205/0.5724, allocations: 153.3 kB / 0.5808 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.5724, allocations: 21.88 kB / 0.5809 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.5727, allocations: 149.2 kB / 0.581 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5727, allocations: 6.938 kB / 0.581 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5727, allocations: 0 / 0.581 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5727, allocations: 5.953 kB / 0.581 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.5732, allocations: 445.3 kB / 0.5814 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5733, allocations: 2.5 kB / 0.5814 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5734, allocations: 31.06 kB / 0.5815 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5734, allocations: 6.594 kB / 0.5815 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5734, allocations: 3.125 kB / 0.5815 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5735, allocations: 2.719 kB / 0.5815 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5735, allocations: 0 / 0.5815 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.5737, allocations: 218.6 kB / 0.5817 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.5738, allocations: 101.9 kB / 0.5818 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5738, allocations: 16.25 kB / 0.5818 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.574, allocations: 10.92 kB / 0.5818 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.5741, allocations: 14.12 kB / 0.5818 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.5741, allocations: 7.438 kB / 0.5818 GB, free: 5.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5742, allocations: 152.6 kB / 0.582 GB, free: 5.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5742, allocations: 1.094 kB / 0.582 GB, free: 5.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.5747, allocations: 91.16 kB / 0.5821 GB, free: 5.613 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.0002665/0.5749, allocations: 154 kB / 0.5822 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.5753, allocations: 183.4 kB / 0.5824 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5753, allocations: 0.875 kB / 0.5824 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.5753, allocations: 40.22 kB / 0.5824 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.5758, allocations: 58.39 kB / 0.5825 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.5766, allocations: 483.9 kB / 0.583 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.577, allocations: 0.7278 MB / 0.5837 GB, free: 4.516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.5772, allocations: 52.44 kB / 0.5837 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.5772, allocations: 30.62 kB / 0.5837 GB, free: 4.492 MB / 430.1 MB Notification: Performance of SimCode: time 1.843e-06/0.5772, allocations: 4 kB / 0.5837 GB, free: 4.488 MB / 430.1 MB Notification: Performance of Templates: time 0.006836/0.5841, allocations: 3.152 MB / 0.5868 GB, free: 3.004 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 cvode -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