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.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.0008873/0.0008873, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001194/0.001194, allocations: 169.9 kB / 24.91 MB, free: 9.184 MB / 18.57 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 0.9737/0.9737, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2719/0.2719, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.7 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.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.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 1.152e-06/1.152e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.595e-05, allocations: 12.42 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3125/0.3125, allocations: 148.1 MB / 471.3 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.3157, allocations: 2.628 MB / 473.9 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.3161, allocations: 34.47 kB / 474 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.3167, allocations: 213.3 kB / 474.2 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3189, allocations: 1.093 MB / 475.3 MB, free: 16.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3203, allocations: 0.8342 MB / 476.1 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.3221, allocations: 1.9 MB / 478 MB, free: 16.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.3228, allocations: 427.4 kB / 478.4 MB, free: 16.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.3245, allocations: 1.133 MB / 479.6 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.3253, allocations: 0.5724 MB / 480.1 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3254, allocations: 60.56 kB / 480.2 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008194/0.3262, allocations: 445.4 kB / 480.6 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3264, allocations: 287.4 kB / 480.9 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.3268, allocations: 286.8 kB / 481.2 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.328, allocations: 0.9925 MB / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.328, allocations: 0 / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.328, allocations: 3.438 kB / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.3281, allocations: 0 / 482.2 MB, free: 16.09 MB / 410.7 MB 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.001377/0.3294, allocations: 0.9786 MB / 483.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.3295, allocations: 8.031 kB / 483.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.33, allocations: 205.3 kB / 483.4 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.3306, allocations: 423.5 kB / 483.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.3306, allocations: 156.6 kB / 483.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.3307, allocations: 61.08 kB / 484 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.3313, allocations: 0.8864 MB / 484.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3313, allocations: 5.594 kB / 484.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.3313, allocations: 19.06 kB / 484.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.3314, allocations: 39.53 kB / 484.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.3317, allocations: 234.5 kB / 485.2 MB, free: 14.54 MB / 410.7 MB 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.001852/0.3335, allocations: 2.648 MB / 487.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3338, allocations: 173.6 kB / 488 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.3338, allocations: 58.56 kB / 488 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.334, allocations: 48.19 kB / 488.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.334, allocations: 44.19 kB / 488.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.334, allocations: 0 / 488.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002295/0.3363, allocations: 0.9194 MB / 489.1 MB, free: 12.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.3363, allocations: 136.3 kB / 489.2 MB, free: 12.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3366, allocations: 486.6 kB / 489.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3367, allocations: 35.23 kB / 489.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3368, allocations: 342 kB / 490 MB, free: 11.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.3368, allocations: 152.2 kB / 490.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.337, allocations: 147.3 kB / 490.3 MB, free: 11.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.337, allocations: 379.5 kB / 490.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.3371, allocations: 66.31 kB / 490.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3374, allocations: 499 kB / 491.2 MB, free: 10.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.3378, allocations: 0.5246 MB / 491.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3378, allocations: 5.062 kB / 491.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005748/0.3383, allocations: 0.491 MB / 492.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3384, allocations: 8.281 kB / 492.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3384, allocations: 11.02 kB / 492.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.339, allocations: 225.2 kB / 492.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3392, allocations: 126.4 kB / 492.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000407/0.3396, allocations: 0.6822 MB / 493.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.3399, allocations: 23.84 kB / 493.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.3399, allocations: 53.09 kB / 493.4 MB, free: 9.672 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001941/0.3401, allocations: 168.2 kB / 493.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.3402, allocations: 47.89 kB / 493.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.3409, allocations: 0.5763 MB / 494.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3409, allocations: 2.781 kB / 494.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3409, allocations: 0 / 494.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3409, allocations: 2.344 kB / 494.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.342, allocations: 0.7292 MB / 494.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.342, allocations: 3.5 kB / 494.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.3424, allocations: 165.4 kB / 495.1 MB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.533e-05/0.3425, allocations: 22.88 kB / 495.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3425, allocations: 21.44 kB / 495.1 MB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007728/0.3433, allocations: 2.404 MB / 497.5 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3433, allocations: 2.812 kB / 497.5 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.3437, allocations: 475.8 kB / 498 MB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3438, allocations: 65.02 kB / 498.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3439, allocations: 18.36 kB / 498.1 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.344, allocations: 19.56 kB / 498.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.3441, allocations: 39.36 kB / 498.1 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.3441, allocations: 27.73 kB / 498.2 MB, free: 6.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.3443, allocations: 202.3 kB / 498.4 MB, free: 6.438 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3443, allocations: 2.656 kB / 498.4 MB, free: 6.438 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006769/0.345, allocations: 247.4 kB / 498.6 MB, free: 6.426 MB / 410.7 MB 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 (38): * Single equations (assignments): 36 * 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.0004458/0.3454, allocations: 240.3 kB / 498.8 MB, free: 6.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.346, allocations: 329.6 kB / 499.2 MB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/0.346, allocations: 8.562 kB / 499.2 MB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.3464, allocations: 291.7 kB / 499.4 MB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.3471, allocations: 330 kB / 499.8 MB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3487, allocations: 1.136 MB / 0.4892 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3488, allocations: 160.6 kB / 0.4893 GB, free: 5.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.3494, allocations: 365.3 kB / 0.4897 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.3499, allocations: 323.2 kB / 0.49 GB, free: 5.332 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3499, allocations: 0 / 0.49 GB, free: 5.332 MB / 410.7 MB Notification: Performance of Templates: time 0.01992/0.3698, allocations: 16.53 MB / 0.5061 GB, free: 10.71 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.687149297911674]