Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001357/0.001357, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2198/0.2198, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 64.12 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4426, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1786/0.6212, allocations: 149.6 MB / 0.665 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.6236, allocations: 1.593 MB / 0.6665 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.6238, allocations: 0 / 0.6665 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.6242, allocations: 51.72 kB / 0.6666 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.6255, allocations: 402.1 kB / 0.6669 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.6261, allocations: 167.4 kB / 0.6671 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.6264, allocations: 183.3 kB / 0.6673 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.6264, allocations: 7.938 kB / 0.6673 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.6266, allocations: 79.69 kB / 0.6674 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.6268, allocations: 59.77 kB / 0.6674 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.6268, allocations: 8 kB / 0.6674 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.628, allocations: 0.5963 MB / 0.668 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.6281, allocations: 27.95 kB / 0.668 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.6282, allocations: 51.8 kB / 0.6681 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.6289, allocations: 400.8 kB / 0.6685 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6289, allocations: 0 / 0.6685 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6289, allocations: 0 / 0.6685 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.629, allocations: 0 / 0.6685 GB, free: 2.301 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006864/0.6296, allocations: 435.4 kB / 0.6689 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.6297, allocations: 8.031 kB / 0.6689 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.6318, allocations: 192.6 kB / 0.6691 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.6321, allocations: 215.7 kB / 0.6693 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6322, allocations: 8 kB / 0.6693 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.6322, allocations: 8 kB / 0.6693 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.6327, allocations: 202.4 kB / 0.6695 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6327, allocations: 4 kB / 0.6695 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.6328, allocations: 4 kB / 0.6695 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6328, allocations: 3.938 kB / 0.6695 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.6334, allocations: 238 kB / 0.6697 GB, free: 0.9219 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.00174/0.6351, allocations: 0.6595 MB / 0.6704 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.6356, allocations: 190.4 kB / 0.6706 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.6358, allocations: 96.81 kB / 0.6706 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.636, allocations: 93.28 kB / 0.6707 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6361, allocations: 42.56 kB / 0.6708 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 2.275e-06/0.6361, allocations: 0 / 0.6708 GB, free: 15.75 MB / 0.5294 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.005978/0.6421, allocations: 1.541 MB / 0.6723 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.6421, allocations: 55.41 kB / 0.6723 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.6422, allocations: 109.8 kB / 0.6724 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.6423, allocations: 29.7 kB / 0.6725 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.6424, allocations: 104.2 kB / 0.6726 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.6424, allocations: 59.11 kB / 0.6726 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.6425, allocations: 45.69 kB / 0.6727 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6426, allocations: 318.8 kB / 0.673 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.6429, allocations: 99.8 kB / 0.6731 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.6431, allocations: 119.4 kB / 0.6732 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.6436, allocations: 230.3 kB / 0.6734 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6436, allocations: 0 / 0.6734 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006503/0.6443, allocations: 290.1 kB / 0.6737 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6443, allocations: 4 kB / 0.6737 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6443, allocations: 4 kB / 0.6737 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.6444, allocations: 20.84 kB / 0.6737 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.6449, allocations: 55.95 kB / 0.6738 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003972/0.6453, allocations: 0.5368 MB / 0.6743 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.6456, allocations: 15.97 kB / 0.6743 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.6457, allocations: 4 kB / 0.6743 GB, free: 11.92 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.0001415/0.6458, allocations: 129.8 kB / 0.6744 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.6459, allocations: 7.906 kB / 0.6744 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.6467, allocations: 323.1 kB / 0.6747 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6467, allocations: 0 / 0.6747 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.6467, allocations: 0 / 0.6747 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.6467, allocations: 0 / 0.6747 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.6479, allocations: 0.6795 MB / 0.6754 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6479, allocations: 0 / 0.6754 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.6483, allocations: 55.83 kB / 0.6755 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.6484, allocations: 20.84 kB / 0.6755 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.6484, allocations: 12.08 kB / 0.6755 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.6494, allocations: 1.363 MB / 0.6768 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6495, allocations: 4.031 kB / 0.6768 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.6503, allocations: 456.9 kB / 0.6773 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.6504, allocations: 88.92 kB / 0.6773 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.6504, allocations: 8 kB / 0.6773 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.6507, allocations: 7.984 kB / 0.6774 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.6508, allocations: 15.98 kB / 0.6774 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.6508, allocations: 11.98 kB / 0.6774 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.6509, allocations: 91.27 kB / 0.6775 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6509, allocations: 4.062 kB / 0.6775 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005365/0.6514, allocations: 127.9 kB / 0.6776 GB, free: 8.262 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 (19): * Single equations (assignments): 18 * 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.0006959/0.6521, allocations: 258.9 kB / 0.6778 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000609/0.6527, allocations: 231.7 kB / 0.6781 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6528, allocations: 0 / 0.6781 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.6532, allocations: 242.9 kB / 0.6783 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.6536, allocations: 50.92 kB / 0.6783 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/0.6545, allocations: 478 kB / 0.6788 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.6548, allocations: 0.7046 MB / 0.6795 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.6551, allocations: 53.38 kB / 0.6795 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6552, allocations: 23.42 kB / 0.6796 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.6552, allocations: 7.938 kB / 0.6796 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.01054/0.6658, allocations: 6.258 MB / 0.6857 GB, free: 15.92 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches