Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.087/1.087, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2734/0.2734, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.725e-05, allocations: 6.312 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2586/0.2586, allocations: 142.8 MB / 0.5097 GB, free: 19.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2599, allocations: 1.605 MB / 0.5113 GB, free: 18.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.26, allocations: 5.25 kB / 0.5113 GB, free: 18.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.2604, allocations: 46.72 kB / 0.5113 GB, free: 18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009196/0.2613, allocations: 430 kB / 0.5117 GB, free: 17.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.2617, allocations: 170.2 kB / 0.5119 GB, free: 17.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2619, allocations: 187.3 kB / 0.5121 GB, free: 17.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.2619, allocations: 7.953 kB / 0.5121 GB, free: 17.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2621, allocations: 103.5 kB / 0.5122 GB, free: 17.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2622, allocations: 58.59 kB / 0.5123 GB, free: 17.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2622, allocations: 5.5 kB / 0.5123 GB, free: 17.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.263, allocations: 0.5496 MB / 0.5128 GB, free: 17.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.2631, allocations: 34.11 kB / 0.5128 GB, free: 17.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.2631, allocations: 41.88 kB / 0.5129 GB, free: 17.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.2637, allocations: 429.5 kB / 0.5133 GB, free: 17.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2637, allocations: 0 / 0.5133 GB, free: 17.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2637, allocations: 2 kB / 0.5133 GB, free: 17.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2637, allocations: 4 kB / 0.5133 GB, free: 17.21 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.00039/0.2641, allocations: 458.4 kB / 0.5137 GB, free: 16.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2641, allocations: 9.062 kB / 0.5137 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.2651, allocations: 216.1 kB / 0.5139 GB, free: 16.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.2653, allocations: 152.5 kB / 0.5141 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2653, allocations: 10.84 kB / 0.5141 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.2654, allocations: 14.22 kB / 0.5141 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.2656, allocations: 230.2 kB / 0.5143 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2656, allocations: 4 kB / 0.5143 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2656, allocations: 3.5 kB / 0.5143 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2656, allocations: 2.656 kB / 0.5143 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.2658, allocations: 124.5 kB / 0.5144 GB, free: 16.43 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.0007651/0.2665, allocations: 0.5296 MB / 0.515 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2667, allocations: 150.5 kB / 0.5151 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.2667, allocations: 66.03 kB / 0.5152 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.112e-05/0.2668, allocations: 20.36 kB / 0.5152 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2669, allocations: 37.33 kB / 0.5152 GB, free: 15.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.2669, allocations: 3.984 kB / 0.5152 GB, free: 15.94 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.002142/0.269, allocations: 1.057 MB / 0.5163 GB, free: 15.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/0.269, allocations: 53.97 kB / 0.5163 GB, free: 15.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.497e-05/0.2691, allocations: 174 kB / 0.5165 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2691, allocations: 32.73 kB / 0.5165 GB, free: 15.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.2691, allocations: 142.1 kB / 0.5166 GB, free: 14.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2691, allocations: 74.56 kB / 0.5167 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.2692, allocations: 47.05 kB / 0.5168 GB, free: 14.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.2692, allocations: 0.4937 MB / 0.5172 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.2693, allocations: 54.38 kB / 0.5173 GB, free: 14.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.2694, allocations: 99.39 kB / 0.5174 GB, free: 14.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.2695, allocations: 163.8 kB / 0.5175 GB, free: 14.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2695, allocations: 0 / 0.5175 GB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002399/0.2697, allocations: 223 kB / 0.5178 GB, free: 14.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.2697, allocations: 5.25 kB / 0.5178 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2697, allocations: 3.062 kB / 0.5178 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.979e-05/0.2698, allocations: 30.5 kB / 0.5178 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.27, allocations: 59.39 kB / 0.5179 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000495/0.2705, allocations: 1.759 MB / 0.5196 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2706, allocations: 12.94 kB / 0.5196 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2707, allocations: 6.125 kB / 0.5196 GB, free: 12.37 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.2707, allocations: 169.5 kB / 0.5198 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.2708, allocations: 26.97 kB / 0.5198 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.271, allocations: 239.9 kB / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.271, allocations: 10.94 kB / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.271, allocations: 0.625 kB / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.271, allocations: 3.047 kB / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.2715, allocations: 0.5485 MB / 0.5206 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2715, allocations: 2.906 kB / 0.5206 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2717, allocations: 48.83 kB / 0.5206 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.688e-05/0.2718, allocations: 27.33 kB / 0.5206 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2718, allocations: 9.859 kB / 0.5206 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004033/0.2722, allocations: 1.705 MB / 0.5223 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2722, allocations: 2.344 kB / 0.5223 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.2726, allocations: 454.5 kB / 0.5227 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.2726, allocations: 15.48 kB / 0.5228 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2726, allocations: 0 / 0.5228 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2727, allocations: 16.23 kB / 0.5228 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.2727, allocations: 16.41 kB / 0.5228 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2728, allocations: 8.688 kB / 0.5228 GB, free: 9.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.553e-05/0.2728, allocations: 131.9 kB / 0.5229 GB, free: 9.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2728, allocations: 0 / 0.5229 GB, free: 9.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.2732, allocations: 133.1 kB / 0.523 GB, free: 9.465 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.0003875/0.2735, allocations: 266.3 kB / 0.5233 GB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.2738, allocations: 341.1 kB / 0.5236 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2738, allocations: 0 / 0.5236 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2739, allocations: 270.7 kB / 0.5239 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2742, allocations: 59 kB / 0.5239 GB, free: 8.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.2748, allocations: 401.4 kB / 0.5243 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.993e-05/0.2748, allocations: 72.45 kB / 0.5244 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.275, allocations: 52.31 kB / 0.5244 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.2751, allocations: 124 kB / 0.5246 GB, free: 8.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2751, allocations: 2.719 kB / 0.5246 GB, free: 8.43 MB / 410.7 MB Notification: Performance of Templates: time 0.007053/0.2822, allocations: 7.285 MB / 0.5317 GB, free: 7.309 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.560191720724106]