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.002288/0.002288, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002446/0.002446, allocations: 165.3 kB / 24.27 MB, free: 148 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.589/1.589, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3973/0.3973, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] 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 2.425e-06/2.425e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.768e-05/4.011e-05, allocations: 5.828 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4206/0.4207, allocations: 145.1 MB / 0.5082 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4225, allocations: 1.625 MB / 0.5098 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.4226, allocations: 1.312 kB / 0.5098 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.423, allocations: 46.33 kB / 0.5098 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.4241, allocations: 429.6 kB / 0.5102 GB, free: 19.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.4246, allocations: 168.4 kB / 0.5104 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.4249, allocations: 193.1 kB / 0.5106 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.4249, allocations: 4.766 kB / 0.5106 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.4251, allocations: 102.5 kB / 0.5107 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.4252, allocations: 57.95 kB / 0.5107 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.4253, allocations: 6.594 kB / 0.5107 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.4263, allocations: 0.5469 MB / 0.5113 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.4264, allocations: 36.3 kB / 0.5113 GB, free: 18.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.4264, allocations: 36.97 kB / 0.5113 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.4271, allocations: 449.6 kB / 0.5118 GB, free: 18.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4272, allocations: 3.938 kB / 0.5118 GB, free: 18.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4272, allocations: 0 / 0.5118 GB, free: 18.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4272, allocations: 0 / 0.5118 GB, free: 18.73 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.0006116/0.4278, allocations: 463.4 kB / 0.5122 GB, free: 18.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4278, allocations: 12.12 kB / 0.5122 GB, free: 18.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.4301, allocations: 214.5 kB / 0.5124 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.4304, allocations: 161.8 kB / 0.5126 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4304, allocations: 7.75 kB / 0.5126 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.4304, allocations: 13.66 kB / 0.5126 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.4309, allocations: 281.2 kB / 0.5129 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4309, allocations: 0 / 0.5129 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.4309, allocations: 4 kB / 0.5129 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4309, allocations: 2.562 kB / 0.5129 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.4314, allocations: 246.7 kB / 0.5131 GB, free: 17.87 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.001595/0.433, allocations: 0.5964 MB / 0.5137 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.4334, allocations: 210.8 kB / 0.5139 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.4336, allocations: 112.2 kB / 0.514 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.4337, allocations: 19.44 kB / 0.514 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4337, allocations: 37.45 kB / 0.5141 GB, free: 17.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.4337, allocations: 0 / 0.5141 GB, free: 17.27 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.00525/0.439, allocations: 1.409 MB / 0.5154 GB, free: 16.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.439, allocations: 54.31 kB / 0.5155 GB, free: 16.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.4391, allocations: 181.9 kB / 0.5157 GB, free: 16.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4391, allocations: 28.7 kB / 0.5157 GB, free: 16.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.4392, allocations: 143.8 kB / 0.5158 GB, free: 16.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.4392, allocations: 85.12 kB / 0.5159 GB, free: 16.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.4393, allocations: 49.69 kB / 0.516 GB, free: 16.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.4394, allocations: 0.5043 MB / 0.5165 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.4396, allocations: 97.62 kB / 0.5165 GB, free: 15.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.4398, allocations: 145.4 kB / 0.5167 GB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.4402, allocations: 250.6 kB / 0.5169 GB, free: 15.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4402, allocations: 0 / 0.5169 GB, free: 15.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005626/0.4408, allocations: 313.9 kB / 0.5172 GB, free: 15.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4408, allocations: 5.25 kB / 0.5172 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4408, allocations: 7.188 kB / 0.5172 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.441, allocations: 31.81 kB / 0.5173 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.4414, allocations: 53.91 kB / 0.5173 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000296/0.4417, allocations: 0.8134 MB / 0.5181 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.442, allocations: 12.41 kB / 0.5181 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.442, allocations: 7.938 kB / 0.5181 GB, free: 14.36 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 9.867e-05/0.4421, allocations: 174.4 kB / 0.5183 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.4422, allocations: 20.23 kB / 0.5183 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.4429, allocations: 337.3 kB / 0.5186 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4429, allocations: 0 / 0.5186 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4429, allocations: 0 / 0.5186 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4429, allocations: 3.062 kB / 0.5186 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.4438, allocations: 0.6824 MB / 0.5193 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4438, allocations: 0 / 0.5193 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.4443, allocations: 49.72 kB / 0.5194 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-05/0.4444, allocations: 32.47 kB / 0.5194 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.4444, allocations: 9.938 kB / 0.5194 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000652/0.445, allocations: 1.765 MB / 0.5211 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.445, allocations: 0 / 0.5211 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.4458, allocations: 0.5511 MB / 0.5217 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.4458, allocations: 13.56 kB / 0.5217 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.4459, allocations: 7.25 kB / 0.5217 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4462, allocations: 5.219 kB / 0.5217 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.4462, allocations: 23.25 kB / 0.5217 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4462, allocations: 12.5 kB / 0.5217 GB, free: 11.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.4463, allocations: 131.5 kB / 0.5218 GB, free: 11.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4463, allocations: 0 / 0.5218 GB, free: 11.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.4468, allocations: 137.8 kB / 0.522 GB, free: 11.23 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.0005837/0.4474, allocations: 266 kB / 0.5222 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.448, allocations: 267.1 kB / 0.5225 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.448, allocations: 0 / 0.5225 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.4483, allocations: 309.2 kB / 0.5228 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4488, allocations: 62.28 kB / 0.5228 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.4495, allocations: 418.5 kB / 0.5232 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.572e-05/0.4495, allocations: 94.44 kB / 0.5233 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000268/0.4498, allocations: 48.98 kB / 0.5234 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4499, allocations: 28.7 kB / 0.5234 GB, free: 10.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4499, allocations: 0 / 0.5234 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Templates: time 0.01071/0.4606, allocations: 6.425 MB / 0.5297 GB, free: 9.809 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.723462313064374]