Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001274/0.001274, allocations: 183 kB / 18.72 MB, free: 4.332 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.1988/0.1988, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 470.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3078, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.15/0.4579, allocations: 149.4 MB / 0.6648 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4591, allocations: 0.9656 MB / 0.6657 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.4592, allocations: 3.938 kB / 0.6657 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.4594, allocations: 27.83 kB / 0.6657 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.46, allocations: 246.6 kB / 0.666 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.4603, allocations: 107.7 kB / 0.6661 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.4605, allocations: 179.2 kB / 0.6662 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.4606, allocations: 4 kB / 0.6662 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.4608, allocations: 87.62 kB / 0.6663 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.4609, allocations: 51.83 kB / 0.6664 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.4609, allocations: 4 kB / 0.6664 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.4614, allocations: 263.7 kB / 0.6666 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.4614, allocations: 23.91 kB / 0.6667 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.4615, allocations: 47.8 kB / 0.6667 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.4619, allocations: 279.8 kB / 0.667 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4619, allocations: 8 kB / 0.667 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4619, allocations: 0 / 0.667 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.4619, allocations: 0 / 0.667 GB, free: 3.895 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004691/0.4624, allocations: 407 kB / 0.6674 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.4624, allocations: 12.03 kB / 0.6674 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.4643, allocations: 192.6 kB / 0.6676 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.4646, allocations: 207.6 kB / 0.6678 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4647, allocations: 8 kB / 0.6678 GB, free: 3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.4647, allocations: 4 kB / 0.6678 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.4652, allocations: 226.8 kB / 0.668 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4652, allocations: 0 / 0.668 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.4652, allocations: 4 kB / 0.668 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4652, allocations: 4 kB / 0.668 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.4656, allocations: 171.8 kB / 0.6682 GB, free: 2.586 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.0009033/0.4666, allocations: 0.5833 MB / 0.6687 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4669, allocations: 138.5 kB / 0.6689 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.467, allocations: 64.83 kB / 0.6689 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.4671, allocations: 11.98 kB / 0.6689 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.4671, allocations: 30.56 kB / 0.669 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.4671, allocations: 0 / 0.669 GB, free: 1.684 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004774/0.4719, allocations: 1.306 MB / 0.6702 GB, free: 292 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4719, allocations: 59.34 kB / 0.6703 GB, free: 220 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.472, allocations: 113.8 kB / 0.6704 GB, free: 96 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.472, allocations: 25.7 kB / 0.6704 GB, free: 64 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.4721, allocations: 100 kB / 0.6705 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.4722, allocations: 75.3 kB / 0.6706 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.723e-05/0.4723, allocations: 53.69 kB / 0.6706 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.4724, allocations: 326.8 kB / 0.671 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4725, allocations: 63.97 kB / 0.671 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.4727, allocations: 103.4 kB / 0.6711 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.473, allocations: 181.4 kB / 0.6713 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.473, allocations: 0 / 0.6713 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004524/0.4735, allocations: 261.2 kB / 0.6715 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4735, allocations: 12.09 kB / 0.6716 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4735, allocations: 0 / 0.6716 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.4737, allocations: 48.83 kB / 0.6716 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.474, allocations: 59.89 kB / 0.6717 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003681/0.4744, allocations: 0.5562 MB / 0.6722 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.4745, allocations: 20.05 kB / 0.6722 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.4746, allocations: 24 kB / 0.6722 GB, free: 14.13 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.4747, allocations: 117.8 kB / 0.6724 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.4747, allocations: 7.953 kB / 0.6724 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.4754, allocations: 359.3 kB / 0.6727 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4755, allocations: 0 / 0.6727 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4755, allocations: 0 / 0.6727 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.4755, allocations: 8 kB / 0.6727 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008881/0.4764, allocations: 0.6268 MB / 0.6733 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4764, allocations: 0 / 0.6733 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.4767, allocations: 55.95 kB / 0.6734 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.102e-05/0.4768, allocations: 32.88 kB / 0.6734 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4768, allocations: 15.98 kB / 0.6734 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008052/0.4776, allocations: 1.363 MB / 0.6748 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4776, allocations: 0 / 0.6748 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.4783, allocations: 439 kB / 0.6752 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.4783, allocations: 96.94 kB / 0.6753 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.4784, allocations: 8 kB / 0.6753 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4786, allocations: 8 kB / 0.6753 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.4786, allocations: 19.97 kB / 0.6753 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.4787, allocations: 31.98 kB / 0.6753 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.4787, allocations: 87.33 kB / 0.6754 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4787, allocations: 8 kB / 0.6754 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003821/0.4791, allocations: 79.81 kB / 0.6755 GB, free: 10.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 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.0003246/0.4794, allocations: 155 kB / 0.6756 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.4799, allocations: 203.8 kB / 0.6758 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4799, allocations: 0 / 0.6758 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.4802, allocations: 225.5 kB / 0.6761 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.4806, allocations: 43.91 kB / 0.6761 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.4814, allocations: 474.7 kB / 0.6765 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.4816, allocations: 0.7085 MB / 0.6772 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.4819, allocations: 77.61 kB / 0.6773 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.4821, allocations: 59.39 kB / 0.6774 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.4821, allocations: 3.938 kB / 0.6774 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of Templates: time 0.008459/0.4905, allocations: 5.618 MB / 0.6829 GB, free: 2.898 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches