Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001416/0.001416, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001467/0.001467, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 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.227/0.227, allocations: 32.81 MB / 294.1 MB, free: 40 kB / 270.1 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.89 kB / 440.6 MB, free: 9.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3025, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1595/0.462, allocations: 131.3 MB / 0.6224 GB, free: 5.258 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4633, allocations: 0.8683 MB / 0.6232 GB, free: 4.387 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.4634, allocations: 0 / 0.6232 GB, free: 4.387 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.4636, allocations: 27.83 kB / 0.6233 GB, free: 4.359 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.4642, allocations: 250.3 kB / 0.6235 GB, free: 4.117 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.4646, allocations: 123.1 kB / 0.6236 GB, free: 4 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.000281/0.4649, allocations: 171.3 kB / 0.6238 GB, free: 3.832 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.4649, allocations: 8 kB / 0.6238 GB, free: 3.824 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.4652, allocations: 103.5 kB / 0.6239 GB, free: 3.723 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.4653, allocations: 43.83 kB / 0.6239 GB, free: 3.68 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4653, allocations: 8 kB / 0.6239 GB, free: 3.672 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.4658, allocations: 251.7 kB / 0.6242 GB, free: 3.426 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.4659, allocations: 31.89 kB / 0.6242 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.466, allocations: 35.81 kB / 0.6242 GB, free: 3.359 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.4664, allocations: 279 kB / 0.6245 GB, free: 3.09 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4664, allocations: 3.984 kB / 0.6245 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4664, allocations: 0 / 0.6245 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.4664, allocations: 0 / 0.6245 GB, free: 3.086 MB / 0.5138 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.0005117/0.467, allocations: 341.8 kB / 0.6248 GB, free: 2.723 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.467, allocations: 8.031 kB / 0.6249 GB, free: 2.715 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.4693, allocations: 209.1 kB / 0.6251 GB, free: 2.512 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.4696, allocations: 157.7 kB / 0.6252 GB, free: 2.332 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4696, allocations: 4 kB / 0.6252 GB, free: 2.328 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4697, allocations: 8 kB / 0.6252 GB, free: 2.32 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.4702, allocations: 304.1 kB / 0.6255 GB, free: 1.992 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4702, allocations: 0 / 0.6255 GB, free: 1.992 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.4703, allocations: 7.984 kB / 0.6255 GB, free: 1.984 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4703, allocations: 4 kB / 0.6255 GB, free: 1.98 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.4707, allocations: 167.8 kB / 0.6257 GB, free: 1.816 MB / 0.5138 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.001036/0.4718, allocations: 0.5089 MB / 0.6262 GB, free: 1.27 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.4721, allocations: 146.4 kB / 0.6263 GB, free: 1.117 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4723, allocations: 64.83 kB / 0.6264 GB, free: 1.051 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4723, allocations: 0 / 0.6264 GB, free: 1.051 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.4723, allocations: 42.55 kB / 0.6264 GB, free: 1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.4723, allocations: 0 / 0.6264 GB, free: 1 MB / 0.5138 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.005596/0.4779, allocations: 1.147 MB / 0.6275 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.478, allocations: 55.41 kB / 0.6276 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4781, allocations: 109.8 kB / 0.6277 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4781, allocations: 29.7 kB / 0.6277 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.4782, allocations: 99.98 kB / 0.6278 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.4782, allocations: 75.36 kB / 0.6279 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4784, allocations: 57.62 kB / 0.6279 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4785, allocations: 314.8 kB / 0.6282 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4787, allocations: 71.95 kB / 0.6283 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4789, allocations: 115.2 kB / 0.6284 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.4792, allocations: 183.3 kB / 0.6286 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4792, allocations: 4 kB / 0.6286 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005253/0.4798, allocations: 261.2 kB / 0.6288 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4798, allocations: 4 kB / 0.6289 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4798, allocations: 4 kB / 0.6289 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.4799, allocations: 52.92 kB / 0.6289 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.4803, allocations: 55.91 kB / 0.629 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/0.4808, allocations: 0.5601 MB / 0.6295 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.481, allocations: 8.031 kB / 0.6295 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.481, allocations: 27.98 kB / 0.6295 GB, free: 13.63 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.0001345/0.4811, allocations: 122.4 kB / 0.6297 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.4812, allocations: 16 kB / 0.6297 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008048/0.482, allocations: 355.2 kB / 0.63 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.482, allocations: 0 / 0.63 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.482, allocations: 0 / 0.63 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.482, allocations: 4 kB / 0.63 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.483, allocations: 0.5369 MB / 0.6305 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4831, allocations: 0 / 0.6305 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.4834, allocations: 68.05 kB / 0.6306 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.396e-05/0.4835, allocations: 20.83 kB / 0.6306 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.4835, allocations: 15.98 kB / 0.6306 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.4846, allocations: 1.237 MB / 0.6318 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4846, allocations: 0 / 0.6318 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.4854, allocations: 439.7 kB / 0.6323 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.4854, allocations: 23.86 kB / 0.6323 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4854, allocations: 8 kB / 0.6323 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.4856, allocations: 11.98 kB / 0.6323 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.4857, allocations: 27.91 kB / 0.6323 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4857, allocations: 23.98 kB / 0.6324 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.489e-05/0.4858, allocations: 91.27 kB / 0.6324 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4858, allocations: 0 / 0.6324 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004181/0.4862, allocations: 79.94 kB / 0.6325 GB, free: 10.39 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.0003533/0.4866, allocations: 159.1 kB / 0.6327 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.4871, allocations: 198.9 kB / 0.6329 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4871, allocations: 0 / 0.6329 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.4874, allocations: 222.5 kB / 0.6331 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4879, allocations: 44.28 kB / 0.6331 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008826/0.4888, allocations: 484.1 kB / 0.6336 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.456e-05/0.4889, allocations: 94.09 kB / 0.6337 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000305/0.4892, allocations: 77.67 kB / 0.6337 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.4894, allocations: 56.47 kB / 0.6338 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.4894, allocations: 0 / 0.6338 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of Templates: time 0.01065/0.5, allocations: 5.558 MB / 0.6392 GB, free: 3.48 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.361699318047613]