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.002602/0.002602, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003177/0.003177, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3993/0.3993, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 2.134e-06/2.134e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.317e-05/4.531e-05, allocations: 10.25 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5857/0.5858, allocations: 145.2 MB / 0.5102 GB, free: 18.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.588, allocations: 1.615 MB / 0.5118 GB, free: 17.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.5881, allocations: 0 / 0.5118 GB, free: 17.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.5885, allocations: 51.38 kB / 0.5118 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.5899, allocations: 425.5 kB / 0.5122 GB, free: 17.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.5905, allocations: 176.2 kB / 0.5124 GB, free: 17.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.5908, allocations: 186.5 kB / 0.5126 GB, free: 17.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.5909, allocations: 3.422 kB / 0.5126 GB, free: 17.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.5911, allocations: 102.4 kB / 0.5127 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.5913, allocations: 57.91 kB / 0.5127 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.5913, allocations: 5.781 kB / 0.5127 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5926, allocations: 0.5472 MB / 0.5132 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.5927, allocations: 36.06 kB / 0.5133 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.5928, allocations: 39.48 kB / 0.5133 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.5938, allocations: 450.3 kB / 0.5137 GB, free: 16.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5938, allocations: 4 kB / 0.5138 GB, free: 16.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5938, allocations: 2.938 kB / 0.5138 GB, free: 16.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.5938, allocations: 0 / 0.5138 GB, free: 16.65 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.0007602/0.5946, allocations: 467.3 kB / 0.5142 GB, free: 16.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5946, allocations: 8.219 kB / 0.5142 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.5969, allocations: 213.2 kB / 0.5144 GB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.5972, allocations: 152.4 kB / 0.5146 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.5972, allocations: 11.66 kB / 0.5146 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.5973, allocations: 17.25 kB / 0.5146 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.5978, allocations: 286.3 kB / 0.5149 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5978, allocations: 0 / 0.5149 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.5978, allocations: 0 / 0.5149 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5978, allocations: 6.422 kB / 0.5149 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.5984, allocations: 246.7 kB / 0.5151 GB, free: 15.79 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.001686/0.6, allocations: 0.5907 MB / 0.5157 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.6004, allocations: 218.3 kB / 0.5159 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.6006, allocations: 107.5 kB / 0.516 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.6008, allocations: 17.77 kB / 0.516 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6008, allocations: 33.39 kB / 0.516 GB, free: 15.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.6008, allocations: 0 / 0.516 GB, free: 15.2 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.005435/0.6062, allocations: 1.421 MB / 0.5174 GB, free: 14.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.6062, allocations: 54.34 kB / 0.5175 GB, free: 14.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.6063, allocations: 178.5 kB / 0.5176 GB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.6064, allocations: 29.7 kB / 0.5177 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.6064, allocations: 144.8 kB / 0.5178 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.6065, allocations: 75.88 kB / 0.5179 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.6065, allocations: 54.77 kB / 0.5179 GB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.6066, allocations: 0.4946 MB / 0.5184 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.6068, allocations: 97.56 kB / 0.5185 GB, free: 13.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.607, allocations: 148.7 kB / 0.5187 GB, free: 13.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.6074, allocations: 255.2 kB / 0.5189 GB, free: 13.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6074, allocations: 1.25 kB / 0.5189 GB, free: 13.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006036/0.608, allocations: 308.3 kB / 0.5192 GB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.608, allocations: 13.19 kB / 0.5192 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6081, allocations: 7.25 kB / 0.5192 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.6082, allocations: 31 kB / 0.5192 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.6086, allocations: 52.78 kB / 0.5193 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003028/0.6089, allocations: 0.8078 MB / 0.5201 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.6092, allocations: 9.547 kB / 0.5201 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.6093, allocations: 12.97 kB / 0.5201 GB, free: 12.29 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 0.0001085/0.6094, allocations: 177.7 kB / 0.5203 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.6095, allocations: 23.25 kB / 0.5203 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.6102, allocations: 328 kB / 0.5206 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.6102, allocations: 2.938 kB / 0.5206 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.6102, allocations: 3.188 kB / 0.5206 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6102, allocations: 5.688 kB / 0.5206 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.6112, allocations: 0.6837 MB / 0.5213 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6112, allocations: 2.969 kB / 0.5213 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.6117, allocations: 49.86 kB / 0.5213 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.6118, allocations: 25.14 kB / 0.5214 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.6118, allocations: 16.3 kB / 0.5214 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/0.6126, allocations: 1.76 MB / 0.5231 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6126, allocations: 0.5625 kB / 0.5231 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.6134, allocations: 0.5557 MB / 0.5236 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.6134, allocations: 19.25 kB / 0.5237 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.6135, allocations: 7.406 kB / 0.5237 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.6138, allocations: 8.984 kB / 0.5237 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.6138, allocations: 21.94 kB / 0.5237 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.6139, allocations: 10.81 kB / 0.5237 GB, free: 9.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.6139, allocations: 130.8 kB / 0.5238 GB, free: 9.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6139, allocations: 0 / 0.5238 GB, free: 9.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.6145, allocations: 132.7 kB / 0.524 GB, free: 9.156 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.0007028/0.6152, allocations: 270 kB / 0.5242 GB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.6158, allocations: 259.5 kB / 0.5245 GB, free: 8.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6158, allocations: 0 / 0.5245 GB, free: 8.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.6162, allocations: 316.7 kB / 0.5248 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.6167, allocations: 54.94 kB / 0.5248 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.6174, allocations: 413.7 kB / 0.5252 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.731e-05/0.6175, allocations: 95.94 kB / 0.5253 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.6178, allocations: 48.23 kB / 0.5253 GB, free: 8.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.6179, allocations: 25.8 kB / 0.5254 GB, free: 8.289 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6179, allocations: 2.625 kB / 0.5254 GB, free: 8.289 MB / 410.7 MB Notification: Performance of Templates: time 0.01191/0.6298, allocations: 6.416 MB / 0.5316 GB, free: 7.488 MB / 410.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8892099290387705]