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.001183/0.001183, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001557/0.001557, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.133/1.133, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.3217/0.3217, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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 2.665e-06/2.665e-06, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.698e-05/3.965e-05, allocations: 2.312 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4191/0.4191, allocations: 142.8 MB / 0.509 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.4213, allocations: 1.606 MB / 0.5106 GB, free: 18.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.4214, allocations: 1.469 kB / 0.5106 GB, free: 18.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.4219, allocations: 46.19 kB / 0.5106 GB, free: 18.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.4235, allocations: 422.5 kB / 0.511 GB, free: 18.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007464/0.4242, allocations: 176.3 kB / 0.5112 GB, free: 18.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.4247, allocations: 189 kB / 0.5114 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.4248, allocations: 3.359 kB / 0.5114 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.4251, allocations: 104.1 kB / 0.5115 GB, free: 18.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.4253, allocations: 54.66 kB / 0.5115 GB, free: 18.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.4253, allocations: 5.5 kB / 0.5115 GB, free: 18.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4269, allocations: 0.5528 MB / 0.5121 GB, free: 17.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.427, allocations: 33.97 kB / 0.5121 GB, free: 17.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.4271, allocations: 41.88 kB / 0.5122 GB, free: 17.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.4283, allocations: 425.7 kB / 0.5126 GB, free: 17.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4283, allocations: 1.469 kB / 0.5126 GB, free: 17.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4283, allocations: 4 kB / 0.5126 GB, free: 17.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4283, allocations: 0 / 0.5126 GB, free: 17.78 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.000755/0.4291, allocations: 467.4 kB / 0.513 GB, free: 17.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.4291, allocations: 9.438 kB / 0.513 GB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.4304, allocations: 209.8 kB / 0.5132 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.4306, allocations: 159.3 kB / 0.5134 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4307, allocations: 10.2 kB / 0.5134 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.4307, allocations: 13.41 kB / 0.5134 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.4311, allocations: 237.1 kB / 0.5136 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4311, allocations: 0 / 0.5136 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.4311, allocations: 2.531 kB / 0.5136 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4311, allocations: 6.969 kB / 0.5136 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.4313, allocations: 127.5 kB / 0.5137 GB, free: 16.98 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.001143/0.4325, allocations: 0.5191 MB / 0.5143 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4327, allocations: 156 kB / 0.5144 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.4328, allocations: 66.97 kB / 0.5145 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.4329, allocations: 19.36 kB / 0.5145 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4329, allocations: 33.39 kB / 0.5145 GB, free: 16.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/0.4329, allocations: 3.938 kB / 0.5145 GB, free: 16.5 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.002732/0.4357, allocations: 1.069 MB / 0.5156 GB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.4357, allocations: 60.05 kB / 0.5156 GB, free: 15.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.4358, allocations: 169.9 kB / 0.5158 GB, free: 15.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4358, allocations: 33.2 kB / 0.5158 GB, free: 15.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.4358, allocations: 140.6 kB / 0.516 GB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.4359, allocations: 71.23 kB / 0.516 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.436, allocations: 48.12 kB / 0.5161 GB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.436, allocations: 0.5 MB / 0.5166 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.4361, allocations: 48.86 kB / 0.5166 GB, free: 14.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4362, allocations: 92.52 kB / 0.5167 GB, free: 14.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.4364, allocations: 171.4 kB / 0.5169 GB, free: 14.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4364, allocations: 0 / 0.5169 GB, free: 14.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00035/0.4367, allocations: 224.9 kB / 0.5171 GB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4367, allocations: 5.656 kB / 0.5171 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4368, allocations: 0 / 0.5171 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.4369, allocations: 36.16 kB / 0.5171 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.4371, allocations: 55.61 kB / 0.5172 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007953/0.4379, allocations: 1.751 MB / 0.5189 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.438, allocations: 16.12 kB / 0.5189 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.4381, allocations: 10.66 kB / 0.5189 GB, free: 12.92 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 0.0001027/0.4382, allocations: 169 kB / 0.5191 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.4382, allocations: 24.66 kB / 0.5191 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.4386, allocations: 245.5 kB / 0.5193 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4386, allocations: 7 kB / 0.5193 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4386, allocations: 0 / 0.5193 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4386, allocations: 2.484 kB / 0.5193 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.4392, allocations: 0.551 MB / 0.5199 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4392, allocations: 0 / 0.5199 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.4394, allocations: 50.86 kB / 0.5199 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.883e-05/0.4394, allocations: 26.34 kB / 0.5199 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.4395, allocations: 10.48 kB / 0.5199 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005295/0.44, allocations: 1.703 MB / 0.5216 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.44, allocations: 0 / 0.5216 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.4404, allocations: 453.9 kB / 0.522 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.4405, allocations: 11.03 kB / 0.522 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4405, allocations: 7.188 kB / 0.5221 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4406, allocations: 12.42 kB / 0.5221 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.4407, allocations: 18.56 kB / 0.5221 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4407, allocations: 8.922 kB / 0.5221 GB, free: 10.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.982e-05/0.4407, allocations: 128.3 kB / 0.5222 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4407, allocations: 0 / 0.5222 GB, free: 10.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006212/0.4413, allocations: 137.2 kB / 0.5223 GB, free: 10.02 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.0005231/0.4418, allocations: 263.9 kB / 0.5226 GB, free: 9.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.4422, allocations: 343 kB / 0.5229 GB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4422, allocations: 2.75 kB / 0.5229 GB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.4424, allocations: 270 kB / 0.5232 GB, free: 9.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.4427, allocations: 54.36 kB / 0.5232 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/0.4437, allocations: 401.8 kB / 0.5236 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.4438, allocations: 75.44 kB / 0.5237 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.444, allocations: 53.47 kB / 0.5237 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4442, allocations: 131.9 kB / 0.5239 GB, free: 8.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4442, allocations: 0 / 0.5239 GB, free: 8.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01152/0.4557, allocations: 7.275 MB / 0.531 GB, free: 7.941 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: 4.023292301222682]