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.001549/0.001549, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.004611/0.004611, allocations: 165 kB / 24.56 MB, free: 12 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 0.9814/0.9814, allocations: 177.1 MB / 205 MB, free: 5.633 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.2239/0.2239, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.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 1.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.26e-05, allocations: 2.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2703/0.2703, allocations: 145.5 MB / 0.5112 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2716, allocations: 1.625 MB / 0.5128 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.2717, allocations: 3.938 kB / 0.5128 GB, free: 17.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.2721, allocations: 45.06 kB / 0.5128 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008422/0.2729, allocations: 428.3 kB / 0.5133 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.2733, allocations: 184.4 kB / 0.5134 GB, free: 16.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.2735, allocations: 179.1 kB / 0.5136 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.2735, allocations: 8.109 kB / 0.5136 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2737, allocations: 105.3 kB / 0.5137 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2738, allocations: 47.58 kB / 0.5138 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.2738, allocations: 8.406 kB / 0.5138 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.2746, allocations: 0.5558 MB / 0.5143 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.2746, allocations: 29.94 kB / 0.5143 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.2747, allocations: 41.69 kB / 0.5144 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.2752, allocations: 426.1 kB / 0.5148 GB, free: 16.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2752, allocations: 4 kB / 0.5148 GB, free: 16.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2752, allocations: 0 / 0.5148 GB, free: 16.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2752, allocations: 0 / 0.5148 GB, free: 16.43 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.0004239/0.2756, allocations: 463.9 kB / 0.5152 GB, free: 16.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2757, allocations: 12.59 kB / 0.5152 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.2768, allocations: 218.2 kB / 0.5154 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.2769, allocations: 152 kB / 0.5156 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2769, allocations: 7.688 kB / 0.5156 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.277, allocations: 20.75 kB / 0.5156 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.2772, allocations: 250.4 kB / 0.5159 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2772, allocations: 3.938 kB / 0.5159 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2773, allocations: 7 kB / 0.5159 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2773, allocations: 0 / 0.5159 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.2775, allocations: 155.6 kB / 0.516 GB, free: 15.61 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.0008518/0.2783, allocations: 0.5424 MB / 0.5165 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.2785, allocations: 179.7 kB / 0.5167 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.2786, allocations: 81.95 kB / 0.5168 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.2787, allocations: 11.19 kB / 0.5168 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2787, allocations: 40.89 kB / 0.5168 GB, free: 15.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2787, allocations: 0 / 0.5168 GB, free: 15.09 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.002493/0.2812, allocations: 1.215 MB / 0.518 GB, free: 14.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.2812, allocations: 54.34 kB / 0.5181 GB, free: 14.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.146e-05/0.2813, allocations: 176.5 kB / 0.5183 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2813, allocations: 29.7 kB / 0.5183 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.2813, allocations: 144.7 kB / 0.5184 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.2814, allocations: 70.8 kB / 0.5185 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.2814, allocations: 54.52 kB / 0.5185 GB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.2815, allocations: 0.4898 MB / 0.519 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.2815, allocations: 63.41 kB / 0.5191 GB, free: 13.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.2816, allocations: 114.6 kB / 0.5192 GB, free: 13.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.2818, allocations: 188.6 kB / 0.5194 GB, free: 13.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2818, allocations: 0 / 0.5194 GB, free: 13.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002859/0.2821, allocations: 251.3 kB / 0.5196 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2821, allocations: 7.188 kB / 0.5196 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2821, allocations: 3.938 kB / 0.5196 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.953e-05/0.2822, allocations: 28.06 kB / 0.5196 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2824, allocations: 55.03 kB / 0.5197 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001795/0.2826, allocations: 0.7992 MB / 0.5205 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2827, allocations: 5.219 kB / 0.5205 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2828, allocations: 13.03 kB / 0.5205 GB, free: 12.39 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.739e-05/0.2828, allocations: 169.6 kB / 0.5207 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.2829, allocations: 24.78 kB / 0.5207 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.2832, allocations: 280.4 kB / 0.5209 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2832, allocations: 3.125 kB / 0.5209 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2832, allocations: 0 / 0.5209 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2832, allocations: 3.125 kB / 0.521 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.2837, allocations: 0.6003 MB / 0.5215 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2837, allocations: 0 / 0.5215 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2839, allocations: 49.41 kB / 0.5216 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-05/0.284, allocations: 23.33 kB / 0.5216 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.284, allocations: 16.73 kB / 0.5216 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004063/0.2844, allocations: 1.729 MB / 0.5233 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2844, allocations: 0 / 0.5233 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.2848, allocations: 481.5 kB / 0.5238 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.2848, allocations: 17.78 kB / 0.5238 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.2848, allocations: 0 / 0.5238 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.285, allocations: 12.61 kB / 0.5238 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.285, allocations: 18.02 kB / 0.5238 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.285, allocations: 18.56 kB / 0.5238 GB, free: 9.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.074e-05/0.285, allocations: 127 kB / 0.524 GB, free: 9.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.285, allocations: 0 / 0.524 GB, free: 9.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.2853, allocations: 133.7 kB / 0.5241 GB, free: 9.391 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.0004005/0.2857, allocations: 266.5 kB / 0.5243 GB, free: 9.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.2861, allocations: 200.1 kB / 0.5245 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2861, allocations: 0 / 0.5245 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.2862, allocations: 287.5 kB / 0.5248 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.2865, allocations: 54.92 kB / 0.5249 GB, free: 8.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.2873, allocations: 400.6 kB / 0.5252 GB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.2873, allocations: 70.97 kB / 0.5253 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.2875, allocations: 53.8 kB / 0.5254 GB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.2876, allocations: 25.11 kB / 0.5254 GB, free: 8.57 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2876, allocations: 3.938 kB / 0.5254 GB, free: 8.566 MB / 410.7 MB Notification: Performance of Templates: time 0.00753/0.2951, allocations: 7.09 MB / 0.5323 GB, free: 7.465 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.5125735457986593]