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.001323/0.001323, allocations: 116 kB / 18.45 MB, free: 4.605 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.001481/0.001481, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2531/0.2531, allocations: 46.92 MB / 357.8 MB, free: 10.43 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.002021/0.002021, allocations: 67.91 kB / 0.4921 GB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1593, allocations: 65.99 MB / 0.5565 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5362/0.6955, allocations: 177.9 MB / 0.7302 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008544/0.704, allocations: 5.341 MB / 0.7355 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.7049, allocations: 27.75 kB / 0.7355 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.706, allocations: 329.9 kB / 0.7358 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.7097, allocations: 1.272 MB / 0.737 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.7123, allocations: 0.9625 MB / 0.738 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.715, allocations: 1.852 MB / 0.7398 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.7157, allocations: 405.4 kB / 0.7402 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.7184, allocations: 1.106 MB / 0.7412 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.7196, allocations: 0.7006 MB / 0.7419 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7197, allocations: 60 kB / 0.742 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.7214, allocations: 0.6359 MB / 0.7426 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.7217, allocations: 263.2 kB / 0.7429 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.7222, allocations: 402.2 kB / 0.7432 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.7243, allocations: 1.304 MB / 0.7445 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.7243, allocations: 0 / 0.7445 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7243, allocations: 0 / 0.7445 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.7243, allocations: 0 / 0.7445 GB, free: 0.6094 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.002494/0.7268, allocations: 1.125 MB / 0.7456 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7269, allocations: 12.03 kB / 0.7456 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.7277, allocations: 143.4 kB / 0.7458 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/0.7287, allocations: 0.5318 MB / 0.7463 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.7288, allocations: 96.41 kB / 0.7464 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.7289, allocations: 51.98 kB / 0.7464 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.7303, allocations: 0.8174 MB / 0.7472 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.7303, allocations: 0 / 0.7472 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.7304, allocations: 24 kB / 0.7472 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.7304, allocations: 36.98 kB / 0.7473 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.7316, allocations: 0.6282 MB / 0.7479 GB, free: 12.97 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.004951/0.7365, allocations: 3.937 MB / 0.7517 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.7371, allocations: 347.4 kB / 0.7521 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.7375, allocations: 165.2 kB / 0.7522 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.7376, allocations: 89.38 kB / 0.7523 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.7376, allocations: 38.84 kB / 0.7524 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.7376, allocations: 0 / 0.7524 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0062/0.7438, allocations: 1.687 MB / 0.754 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.7439, allocations: 136.5 kB / 0.7541 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.7448, allocations: 0.6172 MB / 0.7547 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.7448, allocations: 33.7 kB / 0.7548 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.7452, allocations: 375.8 kB / 0.7551 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.7453, allocations: 150.7 kB / 0.7553 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.7456, allocations: 162.6 kB / 0.7554 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.7458, allocations: 374.8 kB / 0.7558 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.7463, allocations: 201.9 kB / 0.756 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.7471, allocations: 0.5086 MB / 0.7565 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7482, allocations: 0.7555 MB / 0.7572 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7482, allocations: 4 kB / 0.7572 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001588/0.7498, allocations: 0.8801 MB / 0.7581 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.7498, allocations: 8 kB / 0.7581 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.7498, allocations: 11.98 kB / 0.7581 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.7513, allocations: 309 kB / 0.7584 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.7517, allocations: 123.8 kB / 0.7585 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.7529, allocations: 0.9363 MB / 0.7594 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.7534, allocations: 31.98 kB / 0.7594 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.7535, allocations: 63.98 kB / 0.7595 GB, free: 340 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.0003672/0.7539, allocations: 249.4 kB / 0.7597 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.754, allocations: 71.64 kB / 0.7598 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.7557, allocations: 0.8597 MB / 0.7607 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7558, allocations: 4 kB / 0.7607 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7558, allocations: 4 kB / 0.7607 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7558, allocations: 7.969 kB / 0.7607 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.758, allocations: 1.462 MB / 0.7621 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.758, allocations: 4.031 kB / 0.7621 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7591, allocations: 211.8 kB / 0.7623 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.481e-05/0.7592, allocations: 24.84 kB / 0.7623 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.7593, allocations: 19.98 kB / 0.7623 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.7617, allocations: 2.872 MB / 0.7651 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7617, allocations: 8 kB / 0.7652 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.7631, allocations: 0.8229 MB / 0.766 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.7634, allocations: 188.7 kB / 0.7661 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.7635, allocations: 15.98 kB / 0.7662 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.7639, allocations: 12 kB / 0.7662 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.764, allocations: 43.89 kB / 0.7662 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.7641, allocations: 39.98 kB / 0.7662 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005935/0.7647, allocations: 451 kB / 0.7667 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7647, allocations: 0 / 0.7667 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009465/0.7656, allocations: 255.7 kB / 0.7669 GB, free: 8.25 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.0007029/0.7663, allocations: 287 kB / 0.7672 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.7675, allocations: 0.5464 MB / 0.7677 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7675, allocations: 0 / 0.7677 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.7686, allocations: 398.9 kB / 0.7681 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.7702, allocations: 362.8 kB / 0.7685 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.7726, allocations: 1.382 MB / 0.7698 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.7732, allocations: 0.9261 MB / 0.7707 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.7736, allocations: 131.4 kB / 0.7708 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.7736, allocations: 0 / 0.7708 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.02468/0.7983, allocations: 16.67 MB / 0.7871 GB, free: 3.539 MB / 0.5919 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/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_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.746794865000993]