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.0009643/0.0009643, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.002091, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007661/0.0007661, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.00201, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9979/0.9979, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08156/1.079, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.2869/0.2869, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02331/0.3102, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.784e-06/1.784e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.15e-05, allocations: 4.562 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1348/0.1348, allocations: 134.5 MB / 427.1 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.1389, allocations: 3.146 MB / 430.2 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.1393, allocations: 27.75 kB / 430.3 MB, free: 12.13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.1398, allocations: 214.6 kB / 430.5 MB, free: 11.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.141, allocations: 0.7728 MB / 431.2 MB, free: 11.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1426, allocations: 0.8957 MB / 432.1 MB, free: 10.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1441, allocations: 1.871 MB / 434 MB, free: 8.371 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.1446, allocations: 441.6 kB / 434.4 MB, free: 7.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009849/0.1455, allocations: 0.9813 MB / 435.4 MB, free: 6.949 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000683/0.1462, allocations: 0.6467 MB / 436.1 MB, free: 6.301 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.1463, allocations: 60 kB / 436.1 MB, free: 6.242 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.1468, allocations: 279.5 kB / 436.4 MB, free: 5.969 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1469, allocations: 239.3 kB / 436.6 MB, free: 5.734 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.1471, allocations: 223.6 kB / 436.9 MB, free: 5.516 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.1479, allocations: 0.7048 MB / 437.6 MB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.1479, allocations: 0 / 437.6 MB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1479, allocations: 7.938 kB / 437.6 MB, free: 4.801 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.1479, allocations: 0 / 437.6 MB, free: 4.801 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.001354/0.1493, allocations: 1.175 MB / 438.7 MB, free: 3.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1493, allocations: 12.62 kB / 438.8 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.1496, allocations: 128.6 kB / 438.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.1502, allocations: 427.4 kB / 439.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.1503, allocations: 148.4 kB / 439.4 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.1503, allocations: 64.34 kB / 439.5 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.151, allocations: 0.8562 MB / 440.4 MB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.151, allocations: 8.078 kB / 440.4 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.151, allocations: 27.94 kB / 440.4 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.1511, allocations: 40.98 kB / 440.4 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1514, allocations: 240.3 kB / 440.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1955/0.3469, allocations: 2.44 MB / 443.1 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.3474, allocations: 217.7 kB / 443.3 MB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3475, allocations: 70.78 kB / 443.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.3477, allocations: 42.86 kB / 443.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3477, allocations: 37.8 kB / 443.5 MB, free: 13.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.875e-06/0.3477, allocations: 0.5625 kB / 443.5 MB, free: 13.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001535/0.3492, allocations: 0.782 MB / 444.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3493, allocations: 67.53 kB / 444.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3496, allocations: 468 kB / 444.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3496, allocations: 36.39 kB / 444.8 MB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3497, allocations: 328.9 kB / 445.1 MB, free: 13.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.3498, allocations: 171.8 kB / 445.3 MB, free: 13.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3499, allocations: 138.3 kB / 445.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.3499, allocations: 373.7 kB / 445.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.35, allocations: 66.58 kB / 445.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3502, allocations: 485.1 kB / 446.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.3506, allocations: 0.509 MB / 446.9 MB, free: 12.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3506, allocations: 3.188 kB / 446.9 MB, free: 12.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006031/0.3512, allocations: 0.5131 MB / 447.4 MB, free: 12.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3512, allocations: 12.16 kB / 447.4 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3512, allocations: 12.84 kB / 447.4 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.3518, allocations: 231.5 kB / 447.6 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3521, allocations: 144.5 kB / 447.8 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003466/0.3524, allocations: 0.6576 MB / 448.4 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3527, allocations: 25.53 kB / 448.4 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.3527, allocations: 35.19 kB / 448.5 MB, free: 11.5 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.0001354/0.3528, allocations: 170 kB / 448.6 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3529, allocations: 57.64 kB / 448.7 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.3533, allocations: 408.3 kB / 449.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3534, allocations: 5.75 kB / 449.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3534, allocations: 0.9688 kB / 449.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3534, allocations: 2.062 kB / 449.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.3541, allocations: 0.7064 MB / 449.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3541, allocations: 0 / 449.8 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.3546, allocations: 202.8 kB / 450 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3547, allocations: 81.62 kB / 450.1 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-05/0.3548, allocations: 25.11 kB / 450.1 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3548, allocations: 13.02 kB / 450.1 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.3556, allocations: 2.404 MB / 452.5 MB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3556, allocations: 2.562 kB / 452.5 MB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.356, allocations: 0.5115 MB / 453 MB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.356, allocations: 15.84 kB / 453.1 MB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3562, allocations: 13.44 kB / 453.1 MB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3562, allocations: 35.52 kB / 453.1 MB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3563, allocations: 15.56 kB / 453.1 MB, free: 8.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3564, allocations: 200.3 kB / 453.3 MB, free: 8.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3564, allocations: 0 / 453.3 MB, free: 8.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000463/0.3569, allocations: 196.2 kB / 453.5 MB, free: 8.328 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.000234/0.3571, allocations: 154.5 kB / 453.7 MB, free: 8.258 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.3576, allocations: 348.8 kB / 454 MB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.347e-05/0.3576, allocations: 12.16 kB / 454 MB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.358, allocations: 311.8 kB / 454.3 MB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.3588, allocations: 404.6 kB / 454.7 MB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/0.3659, allocations: 1.18 MB / 455.9 MB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.366, allocations: 173.9 kB / 456.1 MB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3664, allocations: 115.2 kB / 456.2 MB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.3669, allocations: 297.4 kB / 456.5 MB, free: 7.371 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3669, allocations: 0 / 456.5 MB, free: 7.371 MB / 426.7 MB Notification: Performance of Templates: time 0.01747/0.3843, allocations: 14.83 MB / 471.3 MB, free: 6.008 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.52955777477473]