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.001258/0.001258, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001405/0.001405, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.218/0.218, allocations: 46.95 MB / 361.6 MB, free: 4.242 MB / 286.1 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 0.002105/0.002105, allocations: 59.91 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2805, allocations: 66.04 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1768/0.4574, allocations: 152.9 MB / 0.7112 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.4596, allocations: 1.604 MB / 0.7128 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.4596, allocations: 0 / 0.7128 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.46, allocations: 51.72 kB / 0.7128 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.4611, allocations: 422 kB / 0.7132 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.4616, allocations: 174 kB / 0.7134 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.4619, allocations: 187.3 kB / 0.7136 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.462, allocations: 11.92 kB / 0.7136 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.4622, allocations: 79.69 kB / 0.7137 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.4623, allocations: 63.75 kB / 0.7137 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4623, allocations: 8 kB / 0.7137 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.4635, allocations: 0.6314 MB / 0.7144 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.4636, allocations: 27.91 kB / 0.7144 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.4637, allocations: 55.78 kB / 0.7144 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007213/0.4644, allocations: 406.6 kB / 0.7148 GB, free: 7.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4644, allocations: 0 / 0.7148 GB, free: 7.195 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.4644, allocations: 4 kB / 0.7148 GB, free: 7.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4644, allocations: 0 / 0.7148 GB, free: 7.191 MB / 0.545 GB 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.00058/0.465, allocations: 361.8 kB / 0.7152 GB, free: 6.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.465, allocations: 12.03 kB / 0.7152 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.4672, allocations: 196.6 kB / 0.7154 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4674, allocations: 162 kB / 0.7155 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4675, allocations: 8 kB / 0.7155 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.4675, allocations: 8 kB / 0.7155 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.468, allocations: 203 kB / 0.7157 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.468, allocations: 0 / 0.7157 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.468, allocations: 3.938 kB / 0.7157 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.468, allocations: 7.938 kB / 0.7157 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.4686, allocations: 243.8 kB / 0.716 GB, free: 5.953 MB / 0.545 GB 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.001744/0.4703, allocations: 0.6018 MB / 0.7166 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.4708, allocations: 185.9 kB / 0.7167 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.471, allocations: 92.81 kB / 0.7168 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.4711, allocations: 11.98 kB / 0.7168 GB, free: 5.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4711, allocations: 42.5 kB / 0.7169 GB, free: 4.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4711, allocations: 0 / 0.7169 GB, free: 4.965 MB / 0.545 GB 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.005528/0.4767, allocations: 1.39 MB / 0.7182 GB, free: 3.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.4767, allocations: 55.41 kB / 0.7183 GB, free: 3.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.4768, allocations: 105.8 kB / 0.7184 GB, free: 3.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.4769, allocations: 37.7 kB / 0.7184 GB, free: 3.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.4769, allocations: 96.41 kB / 0.7185 GB, free: 3.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.477, allocations: 71.36 kB / 0.7186 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.4771, allocations: 41.7 kB / 0.7186 GB, free: 3.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4772, allocations: 326.8 kB / 0.7189 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.4774, allocations: 91.95 kB / 0.719 GB, free: 2.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.4777, allocations: 125 kB / 0.7191 GB, free: 2.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.4782, allocations: 229.3 kB / 0.7194 GB, free: 2.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4782, allocations: 0 / 0.7194 GB, free: 2.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006417/0.4788, allocations: 289 kB / 0.7196 GB, free: 1.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4788, allocations: 4 kB / 0.7196 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4788, allocations: 3.984 kB / 0.7196 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.4789, allocations: 24.84 kB / 0.7197 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.4794, allocations: 47.97 kB / 0.7197 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004003/0.4798, allocations: 0.5407 MB / 0.7202 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.4801, allocations: 11.97 kB / 0.7203 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.4801, allocations: 15.92 kB / 0.7203 GB, free: 1.309 MB / 0.545 GB 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 0.0001341/0.4802, allocations: 125.7 kB / 0.7204 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.4803, allocations: 11.95 kB / 0.7204 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.4811, allocations: 313.7 kB / 0.7207 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4811, allocations: 7.984 kB / 0.7207 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4811, allocations: 0 / 0.7207 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4811, allocations: 4 kB / 0.7207 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.4822, allocations: 0.6513 MB / 0.7213 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4822, allocations: 0 / 0.7213 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.4827, allocations: 48 kB / 0.7214 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/0.4827, allocations: 24.84 kB / 0.7214 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4828, allocations: 11.98 kB / 0.7214 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.4838, allocations: 1.264 MB / 0.7227 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4838, allocations: 4.031 kB / 0.7227 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.4846, allocations: 450.7 kB / 0.7231 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.4847, allocations: 7.984 kB / 0.7231 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.4847, allocations: 8 kB / 0.7231 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.485, allocations: 7.984 kB / 0.7231 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4851, allocations: 24.03 kB / 0.7231 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.4851, allocations: 15.92 kB / 0.7232 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.4851, allocations: 87.27 kB / 0.7232 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4851, allocations: 0 / 0.7232 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005235/0.4857, allocations: 135.7 kB / 0.7234 GB, free: 13.91 MB / 0.5606 GB 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.0006381/0.4863, allocations: 258.7 kB / 0.7236 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006051/0.4869, allocations: 231.6 kB / 0.7238 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4869, allocations: 4.188 kB / 0.7238 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.4873, allocations: 230.5 kB / 0.7241 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4877, allocations: 42.25 kB / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.4886, allocations: 0.5022 MB / 0.7246 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.489, allocations: 0.7047 MB / 0.7253 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.4892, allocations: 31.42 kB / 0.7253 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.4892, allocations: 4 kB / 0.7253 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.009024/0.4982, allocations: 5.191 MB / 0.7304 GB, free: 6.629 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.500982388155535]