Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002125/0.002125, allocations: 211.2 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2251/0.2251, allocations: 46.93 MB / 362 MB, free: 4.223 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 75.88 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3321, allocations: 66.09 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1832/0.5153, allocations: 149.1 MB / 0.708 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008171/0.5235, allocations: 5.587 MB / 0.7134 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.5241, allocations: 27.75 kB / 0.7135 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5251, allocations: 337.9 kB / 0.7138 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.5271, allocations: 0.8902 MB / 0.7147 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.5299, allocations: 1.054 MB / 0.7157 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.5325, allocations: 1.825 MB / 0.7175 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007169/0.5332, allocations: 397.6 kB / 0.7178 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.535, allocations: 0.7902 MB / 0.7186 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.5368, allocations: 0.7514 MB / 0.7194 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.537, allocations: 64 kB / 0.7194 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.5386, allocations: 499.1 kB / 0.7199 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004314/0.539, allocations: 271.1 kB / 0.7201 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006169/0.5396, allocations: 398.2 kB / 0.7205 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.5416, allocations: 1.163 MB / 0.7217 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5416, allocations: 0 / 0.7217 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5416, allocations: 0 / 0.7217 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5416, allocations: 0 / 0.7217 GB, free: 0.5078 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002127/0.5437, allocations: 0.9951 MB / 0.7226 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5437, allocations: 12.03 kB / 0.7226 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.5441, allocations: 96.41 kB / 0.7227 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.5451, allocations: 478.7 kB / 0.7232 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.5452, allocations: 156.4 kB / 0.7233 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.5453, allocations: 52.36 kB / 0.7234 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.5468, allocations: 1.145 MB / 0.7245 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.5468, allocations: 7.938 kB / 0.7245 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.5469, allocations: 24 kB / 0.7245 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.547, allocations: 40.92 kB / 0.7246 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.5481, allocations: 0.6518 MB / 0.7252 GB, free: 12.64 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.005037/0.5531, allocations: 3.896 MB / 0.729 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.554, allocations: 412.2 kB / 0.7294 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.5543, allocations: 193.4 kB / 0.7296 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.5546, allocations: 68.2 kB / 0.7297 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5546, allocations: 38.89 kB / 0.7297 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.5546, allocations: 0 / 0.7297 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003283/0.5579, allocations: 1.406 MB / 0.7311 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.558, allocations: 132.5 kB / 0.7312 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.5587, allocations: 0.5733 MB / 0.7318 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.5587, allocations: 33.7 kB / 0.7318 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.559, allocations: 363.9 kB / 0.7321 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5592, allocations: 166.6 kB / 0.7323 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.5594, allocations: 142.6 kB / 0.7324 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5596, allocations: 374.8 kB / 0.7328 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.56, allocations: 213.9 kB / 0.733 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.5606, allocations: 0.5845 MB / 0.7336 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.5617, allocations: 0.7679 MB / 0.7343 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5617, allocations: 0 / 0.7343 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001711/0.5634, allocations: 0.9065 MB / 0.7352 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5635, allocations: 18.53 kB / 0.7352 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5635, allocations: 8 kB / 0.7352 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.5649, allocations: 276.6 kB / 0.7355 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.5653, allocations: 127.8 kB / 0.7356 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.5665, allocations: 0.8879 MB / 0.7365 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.5669, allocations: 27.98 kB / 0.7365 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.567, allocations: 40 kB / 0.7365 GB, free: 324 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.5673, allocations: 241.6 kB / 0.7368 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5675, allocations: 71.56 kB / 0.7368 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2566/0.8241, allocations: 0.6951 MB / 0.7375 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.8241, allocations: 5.547 kB / 0.7375 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8241, allocations: 1.219 kB / 0.7375 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.8241, allocations: 6.312 kB / 0.7375 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.8264, allocations: 1.305 MB / 0.7388 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.8264, allocations: 6.875 kB / 0.7388 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8276, allocations: 207.3 kB / 0.739 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-05/0.8276, allocations: 24.77 kB / 0.739 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.8277, allocations: 18.61 kB / 0.7391 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.8291, allocations: 2.666 MB / 0.7417 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8291, allocations: 1.688 kB / 0.7417 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.8304, allocations: 0.9497 MB / 0.7426 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.8307, allocations: 130.9 kB / 0.7427 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.8308, allocations: 12.73 kB / 0.7427 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.8311, allocations: 17.33 kB / 0.7427 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.8312, allocations: 40.48 kB / 0.7428 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.8313, allocations: 26.38 kB / 0.7428 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004392/0.8317, allocations: 429 kB / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8317, allocations: 0 / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007251/0.8324, allocations: 226.2 kB / 0.7434 GB, free: 171.5 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003523/0.8328, allocations: 249.5 kB / 0.7437 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.8339, allocations: 0.5789 MB / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8339, allocations: 3.344 kB / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008858/0.8348, allocations: 438.7 kB / 0.7447 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.8362, allocations: 376 kB / 0.745 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.838, allocations: 1.408 MB / 0.7464 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.8383, allocations: 0.9379 MB / 0.7473 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005279/0.8388, allocations: 209.3 kB / 0.7475 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.839, allocations: 63.42 kB / 0.7476 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.839, allocations: 0 / 0.7476 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02117/0.8601, allocations: 16.24 MB / 0.7634 GB, free: 152.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.954364405944943]