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.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.0009137/0.0009137, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009365/0.0009365, allocations: 161 kB / 24.56 MB, free: 16 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.9371/0.9371, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2667/0.2667, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.675e-05, allocations: 6.312 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2817/0.2817, allocations: 145.5 MB / 0.5092 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2832, allocations: 1.628 MB / 0.5108 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.395e-05/0.2833, allocations: 0 / 0.5108 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.2837, allocations: 45.95 kB / 0.5109 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009853/0.2847, allocations: 427.2 kB / 0.5113 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.2851, allocations: 176.5 kB / 0.5114 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.2853, allocations: 187.6 kB / 0.5116 GB, free: 18.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.2854, allocations: 3.625 kB / 0.5116 GB, free: 18.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.2856, allocations: 103.7 kB / 0.5117 GB, free: 18.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2857, allocations: 57.95 kB / 0.5118 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2857, allocations: 7.656 kB / 0.5118 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.2866, allocations: 0.5462 MB / 0.5123 GB, free: 18.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.2866, allocations: 35.17 kB / 0.5124 GB, free: 18.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.2867, allocations: 45.69 kB / 0.5124 GB, free: 18.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.2873, allocations: 421.6 kB / 0.5128 GB, free: 18.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2873, allocations: 3.938 kB / 0.5128 GB, free: 18.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2873, allocations: 0 / 0.5128 GB, free: 18.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2873, allocations: 0 / 0.5128 GB, free: 18.58 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.0004862/0.2878, allocations: 466 kB / 0.5132 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2878, allocations: 11.89 kB / 0.5133 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.289, allocations: 218.8 kB / 0.5135 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2892, allocations: 159.1 kB / 0.5136 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2892, allocations: 6.75 kB / 0.5136 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.2893, allocations: 10.91 kB / 0.5136 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.2896, allocations: 258.2 kB / 0.5139 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2896, allocations: 0 / 0.5139 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2896, allocations: 0.9375 kB / 0.5139 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2896, allocations: 3.125 kB / 0.5139 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.2899, allocations: 159.1 kB / 0.514 GB, free: 17.77 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.001036/0.2909, allocations: 0.5449 MB / 0.5146 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.2911, allocations: 177.4 kB / 0.5147 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.2912, allocations: 81.55 kB / 0.5148 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2913, allocations: 15.45 kB / 0.5148 GB, free: 17.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2913, allocations: 42.39 kB / 0.5149 GB, free: 17.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.2913, allocations: 0 / 0.5149 GB, free: 17.23 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.002761/0.2941, allocations: 1.208 MB / 0.5161 GB, free: 16.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.2941, allocations: 53.28 kB / 0.5161 GB, free: 16.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.2942, allocations: 176.3 kB / 0.5163 GB, free: 16.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2942, allocations: 29.7 kB / 0.5163 GB, free: 16.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.2942, allocations: 142.5 kB / 0.5164 GB, free: 16.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.2943, allocations: 71.38 kB / 0.5165 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.2943, allocations: 51.39 kB / 0.5166 GB, free: 16.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.2944, allocations: 0.4901 MB / 0.517 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.2945, allocations: 66.39 kB / 0.5171 GB, free: 15.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.2946, allocations: 114.8 kB / 0.5172 GB, free: 15.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2948, allocations: 190.9 kB / 0.5174 GB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2948, allocations: 0 / 0.5174 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003203/0.2951, allocations: 250.2 kB / 0.5176 GB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2951, allocations: 4.656 kB / 0.5176 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2951, allocations: 7.219 kB / 0.5176 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.2953, allocations: 29.02 kB / 0.5177 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2955, allocations: 51.59 kB / 0.5177 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001967/0.2957, allocations: 0.8015 MB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2958, allocations: 3.219 kB / 0.5185 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.2958, allocations: 12.8 kB / 0.5185 GB, free: 14.55 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 7.931e-05/0.2959, allocations: 167.2 kB / 0.5187 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.296, allocations: 31.28 kB / 0.5187 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.2964, allocations: 267.1 kB / 0.519 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2964, allocations: 3.094 kB / 0.519 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2964, allocations: 0 / 0.519 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2964, allocations: 1.922 kB / 0.519 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.2969, allocations: 0.6004 MB / 0.5195 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2969, allocations: 4.844 kB / 0.5195 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2971, allocations: 55.72 kB / 0.5196 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-05/0.2972, allocations: 18.75 kB / 0.5196 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2972, allocations: 13.31 kB / 0.5196 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004645/0.2977, allocations: 1.738 MB / 0.5213 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2977, allocations: 2.938 kB / 0.5213 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.2981, allocations: 479.6 kB / 0.5218 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.2981, allocations: 11.28 kB / 0.5218 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2981, allocations: 8.094 kB / 0.5218 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2983, allocations: 16.03 kB / 0.5218 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.2983, allocations: 19.61 kB / 0.5218 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.2983, allocations: 12.56 kB / 0.5219 GB, free: 11.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.2983, allocations: 127.3 kB / 0.522 GB, free: 11.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2983, allocations: 0 / 0.522 GB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004117/0.2988, allocations: 133.8 kB / 0.5221 GB, free: 11.54 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.0004382/0.2992, allocations: 264.3 kB / 0.5224 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.2995, allocations: 198.6 kB / 0.5225 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2995, allocations: 0 / 0.5225 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2997, allocations: 286.4 kB / 0.5228 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3, allocations: 57.09 kB / 0.5229 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.3008, allocations: 404.4 kB / 0.5233 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.3009, allocations: 70 kB / 0.5233 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.301, allocations: 53.98 kB / 0.5234 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.3011, allocations: 24.06 kB / 0.5234 GB, free: 10.72 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3011, allocations: 0 / 0.5234 GB, free: 10.72 MB / 410.7 MB Notification: Performance of Templates: time 0.009641/0.3108, allocations: 6.414 MB / 0.5297 GB, free: 10.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] 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","",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.701633865945041]