Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.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.001186/0.001186, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004101/0.005287, allocations: 449.7 kB / 10.37 MB, free: 328 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.001272/0.001272, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001641/0.002913, 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 1.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.127, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2656/0.2656, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03311/0.2988, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.388e-05, allocations: 4.141 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1326/0.1326, allocations: 146.7 MB / 437.3 MB, free: 5.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1339, allocations: 1.355 MB / 438.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1339, allocations: 0 / 438.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.1341, allocations: 31.77 kB / 438.7 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.1362, allocations: 0.9835 MB / 439.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.1362, allocations: 0 / 439.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1364, allocations: 55.66 kB / 439.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1364, allocations: 8.609 kB / 439.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.1364, allocations: 23.91 kB / 439.7 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.1365, allocations: 23.91 kB / 439.8 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.1365, allocations: 0 / 439.8 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.1386, allocations: 1.664 MB / 441.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.1387, allocations: 15.92 kB / 441.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.1387, allocations: 8 kB / 441.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1398, allocations: 0.8417 MB / 442.3 MB, free: 44 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.1398, allocations: 0 / 442.3 MB, free: 44 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1398, allocations: 4 kB / 442.3 MB, free: 40 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1398, allocations: 0 / 442.3 MB, free: 40 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.1808/0.3206, allocations: 0.5558 MB / 442.8 MB, free: 9.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3206, allocations: 9.375 kB / 442.9 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3207, allocations: 7.781 kB / 442.9 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.403e-05/0.3207, allocations: 107.5 kB / 443 MB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3207, allocations: 5.938 kB / 443 MB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.3207, allocations: 6.094 kB / 443 MB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3208, allocations: 54.56 kB / 443 MB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3208, allocations: 4.469 kB / 443 MB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3208, allocations: 1.375 kB / 443 MB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.3209, allocations: 5.219 kB / 443 MB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.3209, allocations: 19.16 kB / 443.1 MB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.3212, allocations: 210.5 kB / 443.3 MB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.3212, allocations: 27.27 kB / 443.3 MB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.3212, allocations: 8.141 kB / 443.3 MB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3214, allocations: 52.28 kB / 443.3 MB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.3215, allocations: 32.72 kB / 443.4 MB, free: 9.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.3215, allocations: 0.5 kB / 443.4 MB, free: 9.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001092/0.3216, allocations: 54.31 kB / 443.4 MB, free: 9.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.3216, allocations: 52.47 kB / 443.5 MB, free: 9.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.3216, allocations: 103.3 kB / 443.6 MB, free: 8.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.3216, allocations: 28.05 kB / 443.6 MB, free: 8.949 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.3217, allocations: 92.27 kB / 443.7 MB, free: 8.859 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.3217, allocations: 19.86 kB / 443.7 MB, free: 8.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.3217, allocations: 23.7 kB / 443.7 MB, free: 8.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.015e-05/0.3217, allocations: 319 kB / 444.1 MB, free: 8.516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-06/0.3217, allocations: 4.125 kB / 444.1 MB, free: 8.516 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.3218, allocations: 33.11 kB / 444.1 MB, free: 8.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.3218, allocations: 44.97 kB / 444.1 MB, free: 8.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3218, allocations: 0.6875 kB / 444.1 MB, free: 8.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.912e-05/0.3218, allocations: 63.78 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3219, allocations: 7.656 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3219, allocations: 1.375 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.3219, allocations: 1.375 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.3219, allocations: 15.44 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.3219, allocations: 1.375 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.322, allocations: 6.094 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.322, allocations: 10.03 kB / 444.2 MB, free: 8.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.322, allocations: 115.8 kB / 444.4 MB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.322, allocations: 2.062 kB / 444.4 MB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/0.3221, allocations: 60.23 kB / 444.4 MB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3221, allocations: 4.156 kB / 444.4 MB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.3221, allocations: 0 / 444.4 MB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3221, allocations: 0.8125 kB / 444.4 MB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.465e-05/0.3222, allocations: 75.03 kB / 444.5 MB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3222, allocations: 3.938 kB / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.3222, allocations: 14.69 kB / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.3222, allocations: 3.734 kB / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3222, allocations: 1.203 kB / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.3222, allocations: 4.094 kB / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3222, allocations: 4.344 kB / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3222, allocations: 0 / 444.5 MB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.416e-05/0.3223, allocations: 144.4 kB / 444.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.3223, allocations: 0.75 kB / 444.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.3223, allocations: 0.8438 kB / 444.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.3223, allocations: 6.672 kB / 444.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3223, allocations: 1.594 kB / 444.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.183e-05/0.3223, allocations: 13.84 kB / 444.7 MB, free: 8.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3223, allocations: 0 / 444.7 MB, free: 8.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004212/0.3228, allocations: 151.7 kB / 444.8 MB, free: 8.008 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005578/0.3233, allocations: 317 kB / 445.1 MB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.209e-05/0.3234, allocations: 32.03 kB / 445.2 MB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.3234, allocations: 1.219 kB / 445.2 MB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.3234, allocations: 12.48 kB / 445.2 MB, free: 7.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3236, allocations: 22.73 kB / 445.2 MB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3247, allocations: 156.2 kB / 445.4 MB, free: 7.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.3247, allocations: 59.84 kB / 445.4 MB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.467e-05/0.3248, allocations: 11.19 kB / 445.4 MB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.3248, allocations: 58.5 kB / 445.5 MB, free: 7.645 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3248, allocations: 1.125 kB / 445.5 MB, free: 7.645 MB / 426.7 MB Notification: Performance of Templates: time 0.005894/0.3307, allocations: 4.112 MB / 449.6 MB, free: 7.512 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.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.2488133646547794]