Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001066/0.001066, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001684/0.00275, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001107/0.001107, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002577, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09517/1.117, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2936/0.2936, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02579/0.3194, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.362e-05, allocations: 2.312 kB / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1378/0.1379, allocations: 134.5 MB / 427.3 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005092/0.143, allocations: 3.141 MB / 430.5 MB, free: 12.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007077/0.1437, allocations: 23.75 kB / 430.5 MB, free: 12.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.1442, allocations: 218.5 kB / 430.7 MB, free: 11.81 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.1459, allocations: 0.7689 MB / 431.5 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1481, allocations: 0.8863 MB / 432.4 MB, free: 10.15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.1503, allocations: 1.883 MB / 434.2 MB, free: 8.262 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.1512, allocations: 425.7 kB / 434.7 MB, free: 7.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.153, allocations: 0.9852 MB / 435.6 MB, free: 6.855 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.1541, allocations: 0.6467 MB / 436.3 MB, free: 6.207 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.1543, allocations: 64 kB / 436.3 MB, free: 6.145 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.1551, allocations: 283.4 kB / 436.6 MB, free: 5.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.1553, allocations: 231.4 kB / 436.8 MB, free: 5.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.1556, allocations: 231.6 kB / 437.1 MB, free: 5.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009851/0.1565, allocations: 0.6971 MB / 437.8 MB, free: 4.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.1566, allocations: 0 / 437.8 MB, free: 4.715 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1566, allocations: 0 / 437.8 MB, free: 4.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.1566, allocations: 4 kB / 437.8 MB, free: 4.711 MB / 426.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.001872/0.1585, allocations: 1.179 MB / 439 MB, free: 3.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1585, allocations: 12.62 kB / 439 MB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.1589, allocations: 128.6 kB / 439.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.1596, allocations: 427.3 kB / 439.5 MB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.1597, allocations: 156.3 kB / 439.7 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.1598, allocations: 52.38 kB / 439.7 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.1606, allocations: 0.864 MB / 440.6 MB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1606, allocations: 4.141 kB / 440.6 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.1606, allocations: 35.92 kB / 440.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.1607, allocations: 44.91 kB / 440.7 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.161, allocations: 232.3 kB / 440.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2318/0.3929, allocations: 2.441 MB / 443.3 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.3933, allocations: 220.1 kB / 443.5 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3934, allocations: 74.16 kB / 443.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.3936, allocations: 42.48 kB / 443.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3936, allocations: 40.3 kB / 443.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.3936, allocations: 0 / 443.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001678/0.3953, allocations: 0.8693 MB / 444.6 MB, free: 13.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.3953, allocations: 57.09 kB / 444.6 MB, free: 13.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.3957, allocations: 471.8 kB / 445.1 MB, free: 13.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3957, allocations: 36.27 kB / 445.1 MB, free: 13.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3958, allocations: 319.9 kB / 445.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.3959, allocations: 175.6 kB / 445.6 MB, free: 13.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.396, allocations: 143.7 kB / 445.7 MB, free: 13.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.3961, allocations: 375.5 kB / 446.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.3962, allocations: 62.48 kB / 446.2 MB, free: 12.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.3964, allocations: 483.5 kB / 446.6 MB, free: 12.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.3967, allocations: 0.5423 MB / 447.2 MB, free: 12.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3967, allocations: 4.906 kB / 447.2 MB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005802/0.3973, allocations: 0.5162 MB / 447.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3973, allocations: 12.94 kB / 447.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3973, allocations: 10.66 kB / 447.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/0.398, allocations: 227 kB / 447.9 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.3982, allocations: 146.4 kB / 448.1 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003645/0.3986, allocations: 0.6555 MB / 448.7 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.3988, allocations: 30.78 kB / 448.8 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3988, allocations: 28.7 kB / 448.8 MB, free: 11.44 MB / 426.7 MB 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.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 (74): * Single equations (assignments): 73 * 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.0001435/0.399, allocations: 175.5 kB / 449 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.3991, allocations: 50.47 kB / 449 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.3995, allocations: 413.1 kB / 449.4 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.3995, allocations: 5.469 kB / 449.4 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3995, allocations: 0.8125 kB / 449.4 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3995, allocations: 4.969 kB / 449.4 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.4003, allocations: 0.7089 MB / 450.1 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4003, allocations: 3.938 kB / 450.2 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.4008, allocations: 193 kB / 450.3 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4009, allocations: 79.66 kB / 450.4 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-05/0.401, allocations: 21.89 kB / 450.4 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.401, allocations: 14.36 kB / 450.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007657/0.4018, allocations: 2.408 MB / 452.9 MB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4018, allocations: 3.562 kB / 452.9 MB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.4022, allocations: 0.4994 MB / 453.4 MB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.4023, allocations: 16.66 kB / 453.4 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4024, allocations: 18.45 kB / 453.4 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4025, allocations: 38.88 kB / 453.4 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4025, allocations: 18.11 kB / 453.5 MB, free: 8.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4026, allocations: 197 kB / 453.6 MB, free: 8.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4026, allocations: 2.531 kB / 453.7 MB, free: 8.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004731/0.4031, allocations: 197.4 kB / 453.8 MB, free: 8.266 MB / 426.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 (45): * Single equations (assignments): 41 * 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.0002278/0.4033, allocations: 146.9 kB / 454 MB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005155/0.4039, allocations: 350.8 kB / 454.3 MB, free: 8.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/0.4039, allocations: 19.72 kB / 454.3 MB, free: 8.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.4043, allocations: 343.6 kB / 454.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4054, allocations: 1.873 MB / 456.6 MB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/0.4126, allocations: 1.175 MB / 457.7 MB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.4127, allocations: 169 kB / 457.9 MB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.4131, allocations: 115.9 kB / 458 MB, free: 5.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.4136, allocations: 302 kB / 458.3 MB, free: 5.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.044e-06/0.4136, allocations: 4.5 kB / 458.3 MB, free: 5.57 MB / 426.7 MB Notification: Performance of Templates: time 0.01762/0.4312, allocations: 14.67 MB / 473 MB, free: 4.16 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6278464552015066]