Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.897/0.897, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1319/0.1319, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.817e-06/9.799e-06, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2644/0.2644, allocations: 142.7 MB / 0.5098 GB, free: 13.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2657, allocations: 1.605 MB / 0.5113 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.2657, allocations: 4.594 kB / 0.5113 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.266, allocations: 42.66 kB / 0.5114 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008514/0.2669, allocations: 430.4 kB / 0.5118 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.2672, allocations: 172.5 kB / 0.512 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.2675, allocations: 188.2 kB / 0.5121 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.2675, allocations: 3.562 kB / 0.5121 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.2677, allocations: 109 kB / 0.5122 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2679, allocations: 56.58 kB / 0.5123 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2679, allocations: 7.188 kB / 0.5123 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.2686, allocations: 0.5478 MB / 0.5128 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.2686, allocations: 39.16 kB / 0.5129 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.2687, allocations: 36.64 kB / 0.5129 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.2692, allocations: 430.4 kB / 0.5133 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2692, allocations: 0 / 0.5133 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2692, allocations: 0 / 0.5133 GB, free: 13.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2692, allocations: 0 / 0.5133 GB, free: 13.64 MB / 410.7 MB 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.0003769/0.2696, allocations: 469.4 kB / 0.5138 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.2696, allocations: 8.062 kB / 0.5138 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.2707, allocations: 216.3 kB / 0.514 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2708, allocations: 158.1 kB / 0.5141 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2709, allocations: 6.875 kB / 0.5141 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.2709, allocations: 15.75 kB / 0.5142 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2711, allocations: 234.3 kB / 0.5144 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2711, allocations: 3.984 kB / 0.5144 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2711, allocations: 0 / 0.5144 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2711, allocations: 2.094 kB / 0.5144 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.2713, allocations: 131.9 kB / 0.5145 GB, free: 12.92 MB / 410.7 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.0007867/0.2721, allocations: 0.5305 MB / 0.515 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.2722, allocations: 149.2 kB / 0.5152 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.2723, allocations: 67.77 kB / 0.5152 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.2724, allocations: 13.14 kB / 0.5152 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2724, allocations: 40.64 kB / 0.5153 GB, free: 12.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.2724, allocations: 0 / 0.5153 GB, free: 12.52 MB / 410.7 MB 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.002214/0.2746, allocations: 1.05 MB / 0.5163 GB, free: 12.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.217e-05/0.2746, allocations: 51.41 kB / 0.5164 GB, free: 12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.212e-05/0.2746, allocations: 177.4 kB / 0.5165 GB, free: 11.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2747, allocations: 29.02 kB / 0.5166 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.2747, allocations: 142.9 kB / 0.5167 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.2747, allocations: 74.33 kB / 0.5168 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2748, allocations: 50.83 kB / 0.5168 GB, free: 11.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.2748, allocations: 0.4913 MB / 0.5173 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.2749, allocations: 47.7 kB / 0.5173 GB, free: 11.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.2749, allocations: 102.8 kB / 0.5174 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2751, allocations: 165.5 kB / 0.5176 GB, free: 11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2751, allocations: 3.094 kB / 0.5176 GB, free: 11 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002264/0.2753, allocations: 216 kB / 0.5178 GB, free: 10.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2753, allocations: 9.562 kB / 0.5178 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2753, allocations: 0 / 0.5178 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.779e-05/0.2754, allocations: 27.72 kB / 0.5178 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2756, allocations: 55.44 kB / 0.5179 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/0.2757, allocations: 0.7943 MB / 0.5187 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2759, allocations: 12.58 kB / 0.5187 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2759, allocations: 8.188 kB / 0.5187 GB, free: 10.11 MB / 410.7 MB 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 6.381e-05/0.2759, allocations: 174.2 kB / 0.5189 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.276, allocations: 26.34 kB / 0.5189 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.2763, allocations: 238.5 kB / 0.5191 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2763, allocations: 2.844 kB / 0.5191 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2763, allocations: 5.5 kB / 0.5191 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2763, allocations: 4 kB / 0.5191 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.2767, allocations: 0.55 MB / 0.5197 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2767, allocations: 4.766 kB / 0.5197 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.277, allocations: 46.06 kB / 0.5197 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-05/0.277, allocations: 20.3 kB / 0.5197 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.277, allocations: 12.52 kB / 0.5197 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/0.2774, allocations: 1.713 MB / 0.5214 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2774, allocations: 2.812 kB / 0.5214 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.2777, allocations: 447.8 kB / 0.5218 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.2778, allocations: 12.38 kB / 0.5218 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2778, allocations: 8.25 kB / 0.5219 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2779, allocations: 9.062 kB / 0.5219 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.278, allocations: 22.31 kB / 0.5219 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.278, allocations: 11.8 kB / 0.5219 GB, free: 7.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.763e-05/0.278, allocations: 129 kB / 0.522 GB, free: 7.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.278, allocations: 0 / 0.522 GB, free: 7.398 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.2783, allocations: 137.6 kB / 0.5221 GB, free: 7.379 MB / 410.7 MB 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.0004099/0.2787, allocations: 254.7 kB / 0.5224 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.279, allocations: 180.6 kB / 0.5226 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.279, allocations: 3.25 kB / 0.5226 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2792, allocations: 267.8 kB / 0.5228 GB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.2794, allocations: 52.97 kB / 0.5229 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.28, allocations: 407.5 kB / 0.5233 GB, free: 6.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.833e-05/0.2801, allocations: 70.27 kB / 0.5233 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.2802, allocations: 45.78 kB / 0.5234 GB, free: 6.648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.2804, allocations: 129.8 kB / 0.5235 GB, free: 6.582 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2804, allocations: 4 kB / 0.5235 GB, free: 6.578 MB / 410.7 MB Notification: Performance of Templates: time 0.00739/0.2878, allocations: 7.245 MB / 0.5306 GB, free: 4.375 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3323604268953204]