Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001484/0.001484, allocations: 201.9 kB / 23.73 MB, free: 4.379 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2293/0.2293, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 76.06 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2036/0.5563, allocations: 153.9 MB / 0.7114 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007674/0.564, allocations: 4.918 MB / 0.7162 GB, free: 4.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.5646, allocations: 23.75 kB / 0.7162 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.5655, allocations: 318 kB / 0.7165 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.5689, allocations: 1.285 MB / 0.7177 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.5714, allocations: 0.9929 MB / 0.7187 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.5738, allocations: 1.872 MB / 0.7205 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007936/0.5746, allocations: 389.6 kB / 0.7209 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.5772, allocations: 1.125 MB / 0.722 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.5786, allocations: 0.7047 MB / 0.7227 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.5787, allocations: 63.94 kB / 0.7228 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.5801, allocations: 0.5644 MB / 0.7233 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.5805, allocations: 275.1 kB / 0.7236 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005337/0.581, allocations: 338.6 kB / 0.7239 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.5829, allocations: 1.297 MB / 0.7252 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5829, allocations: 0 / 0.7252 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5829, allocations: 0 / 0.7252 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.583, allocations: 4 kB / 0.7252 GB, free: 11.54 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00251/0.5855, allocations: 1.045 MB / 0.7262 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5855, allocations: 12.03 kB / 0.7262 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.5864, allocations: 139.4 kB / 0.7263 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5874, allocations: 481.3 kB / 0.7268 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.5876, allocations: 155.8 kB / 0.7269 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5877, allocations: 51.98 kB / 0.727 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5892, allocations: 1.136 MB / 0.7281 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5892, allocations: 7.875 kB / 0.7281 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.5893, allocations: 28 kB / 0.7281 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.349e-05/0.5894, allocations: 44.92 kB / 0.7282 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.5905, allocations: 0.6127 MB / 0.7288 GB, free: 7.605 MB / 0.5606 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.004632/0.5951, allocations: 3.219 MB / 0.7319 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.5958, allocations: 339.6 kB / 0.7322 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.5961, allocations: 161.3 kB / 0.7324 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.5961, allocations: 16.27 kB / 0.7324 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5962, allocations: 38.84 kB / 0.7324 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.5962, allocations: 4 kB / 0.7325 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005831/0.602, allocations: 1.598 MB / 0.734 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.6021, allocations: 136.5 kB / 0.7341 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.6029, allocations: 0.5338 MB / 0.7347 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.603, allocations: 37.7 kB / 0.7347 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.6033, allocations: 388.2 kB / 0.7351 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6034, allocations: 150.7 kB / 0.7352 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.6037, allocations: 154.6 kB / 0.7354 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6038, allocations: 370.8 kB / 0.7357 GB, free: 244 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.6042, allocations: 201.9 kB / 0.7359 GB, free: 40 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2861/0.8903, allocations: 0.5823 MB / 0.7365 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.8914, allocations: 0.7562 MB / 0.7372 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.8914, allocations: 3.125 kB / 0.7372 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001806/0.8933, allocations: 0.8744 MB / 0.7381 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.8933, allocations: 9.156 kB / 0.7381 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.8933, allocations: 10.89 kB / 0.7381 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.8947, allocations: 308.8 kB / 0.7384 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.8951, allocations: 123.5 kB / 0.7385 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009466/0.896, allocations: 0.9377 MB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.8965, allocations: 26.39 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/0.8966, allocations: 65.62 kB / 0.7395 GB, free: 173.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.8969, allocations: 248.5 kB / 0.7397 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.897, allocations: 60.31 kB / 0.7398 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.8984, allocations: 0.8614 MB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8984, allocations: 3.906 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8984, allocations: 0.6094 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8984, allocations: 2.156 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.9, allocations: 1.092 MB / 0.7417 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.9, allocations: 3.781 kB / 0.7417 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.901, allocations: 210.3 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.162e-05/0.9011, allocations: 20.7 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.9011, allocations: 23.59 kB / 0.742 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.9024, allocations: 2.622 MB / 0.7445 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9024, allocations: 9.625 kB / 0.7445 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/0.9033, allocations: 0.8103 MB / 0.7453 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.9035, allocations: 105.7 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.9036, allocations: 15.56 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.904, allocations: 19.14 kB / 0.7455 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.904, allocations: 42.98 kB / 0.7455 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.9041, allocations: 45.38 kB / 0.7455 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003116/0.9044, allocations: 362.1 kB / 0.7459 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9044, allocations: 3.391 kB / 0.7459 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008008/0.9052, allocations: 250.1 kB / 0.7461 GB, free: 168.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005347/0.9057, allocations: 278.4 kB / 0.7464 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009604/0.9067, allocations: 0.5264 MB / 0.7469 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9067, allocations: 8 kB / 0.7469 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.9076, allocations: 408.1 kB / 0.7473 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.9089, allocations: 307 kB / 0.7476 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.9106, allocations: 1.336 MB / 0.7489 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.9108, allocations: 336.2 kB / 0.7492 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007729/0.9116, allocations: 446.8 kB / 0.7496 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.9118, allocations: 107.4 kB / 0.7498 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.9118, allocations: 0 / 0.7498 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02077/0.9326, allocations: 16.94 MB / 0.7663 GB, free: 148.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 6.323400396853685]