Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001665/0.001665, allocations: 119.7 kB / 19.18 MB, free: 3.887 MB / 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.00137/0.00137, allocations: 201 kB / 22.13 MB, free: 0.9414 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.489/1.489, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2659/0.2659, allocations: 46.92 MB / 358.2 MB, free: 10.4 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.IdealGases.Air,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.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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [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.002567/0.002567, allocations: 80.05 kB / 0.4925 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1484, allocations: 66.01 MB / 0.557 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5401/0.6885, allocations: 177.9 MB / 0.7307 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007854/0.6964, allocations: 5.334 MB / 0.7359 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007055/0.6971, allocations: 27.75 kB / 0.7359 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.6981, allocations: 333.9 kB / 0.7363 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.7015, allocations: 1.268 MB / 0.7375 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.7039, allocations: 0.9534 MB / 0.7384 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002515/0.7064, allocations: 1.856 MB / 0.7402 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.7071, allocations: 405.4 kB / 0.7406 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.7094, allocations: 1.113 MB / 0.7417 GB, free: 4.027 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.7105, allocations: 0.6929 MB / 0.7424 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.7106, allocations: 71.94 kB / 0.7425 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.712, allocations: 0.6359 MB / 0.7431 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.7123, allocations: 263.2 kB / 0.7433 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.7128, allocations: 394.2 kB / 0.7437 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.7147, allocations: 1.312 MB / 0.745 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7147, allocations: 0 / 0.745 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7147, allocations: 0 / 0.745 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.7147, allocations: 0 / 0.745 GB, free: 0.6641 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.002414/0.7172, allocations: 1.125 MB / 0.7461 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7172, allocations: 8.031 kB / 0.7461 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/0.718, allocations: 143.4 kB / 0.7462 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.7189, allocations: 0.5279 MB / 0.7467 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.719, allocations: 104.4 kB / 0.7468 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.7192, allocations: 48 kB / 0.7469 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.7205, allocations: 0.8213 MB / 0.7477 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7205, allocations: 0 / 0.7477 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.7206, allocations: 24 kB / 0.7477 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.7206, allocations: 32.98 kB / 0.7477 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.7217, allocations: 0.6243 MB / 0.7483 GB, free: 13.04 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.004806/0.7265, allocations: 3.941 MB / 0.7522 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.7271, allocations: 339.6 kB / 0.7525 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.7274, allocations: 169.2 kB / 0.7527 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.7276, allocations: 89.38 kB / 0.7528 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.7276, allocations: 38.84 kB / 0.7528 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.7276, allocations: 0 / 0.7528 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00593/0.7335, allocations: 1.683 MB / 0.7544 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.7336, allocations: 144.4 kB / 0.7546 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/0.7344, allocations: 0.6095 MB / 0.7552 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.7345, allocations: 29.7 kB / 0.7552 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.7348, allocations: 375.8 kB / 0.7556 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.7349, allocations: 150.8 kB / 0.7557 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.7352, allocations: 166.5 kB / 0.7559 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.7354, allocations: 378.8 kB / 0.7562 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.7358, allocations: 197.9 kB / 0.7564 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.7364, allocations: 0.5125 MB / 0.7569 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.7375, allocations: 0.7554 MB / 0.7577 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7375, allocations: 4 kB / 0.7577 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001599/0.7391, allocations: 0.8762 MB / 0.7585 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7392, allocations: 8 kB / 0.7585 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.7392, allocations: 12 kB / 0.7585 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.7406, allocations: 316.3 kB / 0.7588 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.741, allocations: 127.8 kB / 0.759 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.7422, allocations: 0.9348 MB / 0.7599 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.7427, allocations: 27.98 kB / 0.7599 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.7428, allocations: 64 kB / 0.76 GB, free: 404 kB / 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.0003879/0.7432, allocations: 249.4 kB / 0.7602 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7434, allocations: 71.58 kB / 0.7603 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.7451, allocations: 0.8608 MB / 0.7611 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.7451, allocations: 4 kB / 0.7611 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7451, allocations: 4 kB / 0.7611 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.7451, allocations: 3.984 kB / 0.7611 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.7475, allocations: 1.458 MB / 0.7625 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.7475, allocations: 11.81 kB / 0.7626 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.7486, allocations: 207.8 kB / 0.7628 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.7487, allocations: 24.84 kB / 0.7628 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.7487, allocations: 16 kB / 0.7628 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.7513, allocations: 2.874 MB / 0.7656 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7513, allocations: 12.12 kB / 0.7656 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.7527, allocations: 0.8229 MB / 0.7664 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.753, allocations: 188.6 kB / 0.7666 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.7531, allocations: 8 kB / 0.7666 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.7535, allocations: 19.98 kB / 0.7666 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.7536, allocations: 39.89 kB / 0.7667 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.7537, allocations: 43.98 kB / 0.7667 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006093/0.7543, allocations: 447 kB / 0.7671 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7543, allocations: 4.062 kB / 0.7671 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001014/0.7553, allocations: 255.7 kB / 0.7674 GB, free: 8.312 MB / 0.5762 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.000697/0.756, allocations: 280.3 kB / 0.7676 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.7573, allocations: 0.5427 MB / 0.7682 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7573, allocations: 4 kB / 0.7682 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.7583, allocations: 390.3 kB / 0.7685 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.76, allocations: 385 kB / 0.7689 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.7624, allocations: 1.384 MB / 0.7703 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.763, allocations: 0.9261 MB / 0.7712 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.7634, allocations: 131.4 kB / 0.7713 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.7634, allocations: 0 / 0.7713 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of Templates: time 0.02445/0.7878, allocations: 16.65 MB / 0.7876 GB, free: 3.605 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 11.258806616009679]