Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 107.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 194 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.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.2321/0.2321, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.91 kB / 495.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4877, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2509/0.7386, allocations: 175.2 MB / 0.7174 GB, free: 20 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.7487, allocations: 5.373 MB / 0.7227 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.75, allocations: 19.88 kB / 0.7227 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.7513, allocations: 329.9 kB / 0.723 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.7561, allocations: 1.258 MB / 0.7242 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.7595, allocations: 0.9734 MB / 0.7252 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00342/0.7629, allocations: 1.848 MB / 0.727 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.7639, allocations: 401.3 kB / 0.7274 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.7673, allocations: 1.086 MB / 0.7284 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.7686, allocations: 0.6929 MB / 0.7291 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.7688, allocations: 60 kB / 0.7292 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.7705, allocations: 0.632 MB / 0.7298 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.7709, allocations: 275.1 kB / 0.7301 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.7715, allocations: 398.2 kB / 0.7304 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.7739, allocations: 1.304 MB / 0.7317 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7739, allocations: 0 / 0.7317 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7739, allocations: 0 / 0.7317 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.7739, allocations: 3.938 kB / 0.7317 GB, free: 1.359 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.002561/0.7764, allocations: 1.121 MB / 0.7328 GB, free: 192 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7765, allocations: 12.03 kB / 0.7328 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/0.7773, allocations: 147.4 kB / 0.733 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3483/1.126, allocations: 0.5284 MB / 0.7335 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/1.126, allocations: 105.7 kB / 0.7336 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.126, allocations: 44.72 kB / 0.7336 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/1.128, allocations: 0.8231 MB / 0.7344 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.128, allocations: 6.359 kB / 0.7344 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/1.128, allocations: 22.73 kB / 0.7345 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/1.128, allocations: 40.27 kB / 0.7345 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/1.129, allocations: 0.621 MB / 0.7351 GB, free: 185 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.004201/1.133, allocations: 3.955 MB / 0.739 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/1.134, allocations: 340.3 kB / 0.7393 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/1.134, allocations: 161.9 kB / 0.7394 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/1.134, allocations: 93.38 kB / 0.7395 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.134, allocations: 38.41 kB / 0.7396 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.445e-06/1.134, allocations: 3.969 kB / 0.7396 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005808/1.14, allocations: 1.685 MB / 0.7412 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.14, allocations: 137.8 kB / 0.7413 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/1.141, allocations: 0.6159 MB / 0.742 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/1.141, allocations: 37.2 kB / 0.742 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.141, allocations: 371.5 kB / 0.7423 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.141, allocations: 153.5 kB / 0.7425 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.142, allocations: 160.2 kB / 0.7426 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.142, allocations: 371.5 kB / 0.743 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/1.142, allocations: 208.1 kB / 0.7432 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/1.143, allocations: 0.5138 MB / 0.7437 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/1.144, allocations: 0.7478 MB / 0.7444 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.144, allocations: 2.312 kB / 0.7444 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001385/1.145, allocations: 0.882 MB / 0.7453 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.145, allocations: 19.84 kB / 0.7453 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.145, allocations: 7.812 kB / 0.7453 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/1.146, allocations: 311 kB / 0.7456 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/1.147, allocations: 122.7 kB / 0.7457 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/1.148, allocations: 0.9391 MB / 0.7466 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/1.148, allocations: 23.59 kB / 0.7467 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/1.148, allocations: 68.23 kB / 0.7467 GB, free: 176.2 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.000319/1.149, allocations: 248.7 kB / 0.747 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.149, allocations: 75.12 kB / 0.747 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.15, allocations: 0.8657 MB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.15, allocations: 4 kB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.15, allocations: 3.938 kB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.15, allocations: 0 / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.152, allocations: 1.456 MB / 0.7493 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.152, allocations: 8 kB / 0.7493 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/1.153, allocations: 208 kB / 0.7495 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.107e-05/1.153, allocations: 20.84 kB / 0.7495 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/1.153, allocations: 23.98 kB / 0.7496 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.154, allocations: 2.881 MB / 0.7524 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.154, allocations: 0 / 0.7524 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/1.155, allocations: 0.8265 MB / 0.7532 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/1.155, allocations: 188.6 kB / 0.7534 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/1.156, allocations: 16.02 kB / 0.7534 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.156, allocations: 23.98 kB / 0.7534 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.156, allocations: 39.89 kB / 0.7534 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/1.156, allocations: 51.86 kB / 0.7535 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004429/1.156, allocations: 431 kB / 0.7539 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.156, allocations: 4 kB / 0.7539 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009039/1.157, allocations: 251.8 kB / 0.7541 GB, free: 168.4 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.0008171/1.158, allocations: 305.2 kB / 0.7544 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.159, allocations: 0.5338 MB / 0.755 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.159, allocations: 0 / 0.755 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/1.16, allocations: 410.2 kB / 0.7553 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.001466/1.162, allocations: 369.8 kB / 0.7557 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/1.164, allocations: 1.366 MB / 0.757 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/1.164, allocations: 0.9339 MB / 0.7579 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000842/1.165, allocations: 458.4 kB / 0.7584 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/1.165, allocations: 107.4 kB / 0.7585 GB, free: 164 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.165, allocations: 0 / 0.7585 GB, free: 164 MB / 0.5606 GB Notification: Performance of Templates: time 0.03016/1.195, allocations: 17.88 MB / 0.776 GB, free: 146.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.674494720064104]