Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001597/0.001597, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.001886/0.001886, allocations: 158.2 kB / 24.5 MB, free: 3.715 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.535/1.535, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.2122/0.2122, allocations: 34.28 MB / 295.5 MB, free: 14.55 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.88 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2965, allocations: 66 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1592/0.4557, allocations: 131.4 MB / 0.6255 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.4572, allocations: 0.9423 MB / 0.6264 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.4573, allocations: 0 / 0.6264 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.4575, allocations: 31.77 kB / 0.6264 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007481/0.4583, allocations: 286.2 kB / 0.6267 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.4586, allocations: 111.7 kB / 0.6268 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.4589, allocations: 183.2 kB / 0.627 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.4589, allocations: 8 kB / 0.627 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.4591, allocations: 99.55 kB / 0.6271 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.4592, allocations: 55.75 kB / 0.6272 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.4593, allocations: 11.94 kB / 0.6272 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005189/0.4598, allocations: 259.7 kB / 0.6274 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.4598, allocations: 15.98 kB / 0.6274 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.4599, allocations: 43.84 kB / 0.6275 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.4604, allocations: 282.9 kB / 0.6277 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4604, allocations: 0 / 0.6277 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4604, allocations: 4 kB / 0.6277 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4604, allocations: 0 / 0.6277 GB, free: 15.63 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005218/0.4609, allocations: 333.8 kB / 0.6281 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.461, allocations: 12.03 kB / 0.6281 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.4632, allocations: 205.1 kB / 0.6283 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.4636, allocations: 161.7 kB / 0.6284 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4636, allocations: 12 kB / 0.6284 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.4636, allocations: 4 kB / 0.6284 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.4642, allocations: 301.2 kB / 0.6287 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4642, allocations: 7.938 kB / 0.6287 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4643, allocations: 0 / 0.6287 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4643, allocations: 0 / 0.6287 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.4648, allocations: 163.9 kB / 0.6289 GB, free: 14.37 MB / 0.5294 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.001094/0.4659, allocations: 0.5244 MB / 0.6294 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.4662, allocations: 130.5 kB / 0.6295 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.4663, allocations: 68.81 kB / 0.6296 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4664, allocations: 4 kB / 0.6296 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4664, allocations: 38.56 kB / 0.6296 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.4664, allocations: 0 / 0.6296 GB, free: 13.55 MB / 0.5294 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.005481/0.4719, allocations: 1.159 MB / 0.6308 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4719, allocations: 59.34 kB / 0.6308 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.472, allocations: 105.8 kB / 0.6309 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4721, allocations: 33.7 kB / 0.631 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.4721, allocations: 99.97 kB / 0.6311 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.4722, allocations: 67.39 kB / 0.6311 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.4723, allocations: 53.69 kB / 0.6312 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4725, allocations: 322.8 kB / 0.6315 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4726, allocations: 71.97 kB / 0.6315 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.4728, allocations: 110.2 kB / 0.6316 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.4732, allocations: 183.3 kB / 0.6318 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4732, allocations: 0 / 0.6318 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005188/0.4737, allocations: 261.1 kB / 0.6321 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4737, allocations: 8.094 kB / 0.6321 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4737, allocations: 0 / 0.6321 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.4739, allocations: 52.77 kB / 0.6321 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.4743, allocations: 59.95 kB / 0.6322 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004746/0.4747, allocations: 0.564 MB / 0.6327 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.4749, allocations: 8.031 kB / 0.6327 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.475, allocations: 20 kB / 0.6328 GB, free: 10.18 MB / 0.5294 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.0001387/0.4751, allocations: 130.6 kB / 0.6329 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.4751, allocations: 11.91 kB / 0.6329 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.4759, allocations: 343 kB / 0.6332 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.4759, allocations: 4 kB / 0.6332 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4759, allocations: 0 / 0.6332 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4759, allocations: 3.938 kB / 0.6332 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.4769, allocations: 0.5447 MB / 0.6338 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4769, allocations: 4.094 kB / 0.6338 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.4773, allocations: 63.89 kB / 0.6338 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.341e-05/0.4774, allocations: 24.84 kB / 0.6339 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4774, allocations: 11.98 kB / 0.6339 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.4784, allocations: 1.233 MB / 0.6351 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4784, allocations: 8.141 kB / 0.6351 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.4792, allocations: 433.9 kB / 0.6355 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.4792, allocations: 19.86 kB / 0.6355 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.4792, allocations: 4 kB / 0.6355 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4794, allocations: 8 kB / 0.6355 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.4795, allocations: 23.95 kB / 0.6355 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.4795, allocations: 24 kB / 0.6356 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.586e-05/0.4796, allocations: 95.25 kB / 0.6357 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.4796, allocations: 0 / 0.6357 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000422/0.48, allocations: 84 kB / 0.6357 GB, free: 6.938 MB / 0.5294 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 (21): * Single equations (assignments): 20 * 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.0003801/0.4804, allocations: 154.8 kB / 0.6359 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.4809, allocations: 191.8 kB / 0.6361 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4809, allocations: 0 / 0.6361 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.4813, allocations: 224.7 kB / 0.6363 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4818, allocations: 59.14 kB / 0.6363 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.4826, allocations: 480.3 kB / 0.6368 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.4827, allocations: 98.03 kB / 0.6369 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002921/0.483, allocations: 73.45 kB / 0.637 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4832, allocations: 56.47 kB / 0.637 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.4832, allocations: 0 / 0.637 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.01032/0.4935, allocations: 5.557 MB / 0.6424 GB, free: 40 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.216937392018735]