Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001215/0.001215, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001195/0.001195, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9171/0.9171, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1332/0.1332, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 348.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.8e-05, allocations: 6.25 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3055/0.3056, allocations: 142.4 MB / 490.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3067, allocations: 1.197 MB / 491.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3067, allocations: 0 / 491.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.307, allocations: 30.02 kB / 491.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.3089, allocations: 0.9146 MB / 492.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.3089, allocations: 0 / 492.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.309, allocations: 45.42 kB / 492.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.309, allocations: 0 / 492.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.3091, allocations: 25.25 kB / 492.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.3091, allocations: 21.39 kB / 492.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.3091, allocations: 2.906 kB / 492.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.3108, allocations: 1.381 MB / 494.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.3109, allocations: 14.14 kB / 494.1 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3109, allocations: 16.16 kB / 494.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.312, allocations: 0.8559 MB / 495 MB, free: 8.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.312, allocations: 0 / 495 MB, free: 8.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.312, allocations: 0 / 495 MB, free: 8.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.312, allocations: 0 / 495 MB, free: 8.504 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005746/0.3125, allocations: 497.4 kB / 495.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3126, allocations: 8.281 kB / 495.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.3126, allocations: 10.11 kB / 495.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.076e-05/0.3127, allocations: 116.5 kB / 495.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3127, allocations: 2.75 kB / 495.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.3127, allocations: 3.469 kB / 495.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.3128, allocations: 52.62 kB / 495.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3128, allocations: 3.984 kB / 495.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3128, allocations: 0 / 495.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3128, allocations: 8.812 kB / 495.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.3128, allocations: 18.8 kB / 495.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.3131, allocations: 264.9 kB / 495.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.363e-05/0.3132, allocations: 44.77 kB / 496 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.3132, allocations: 10.62 kB / 496 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.3133, allocations: 19.67 kB / 496 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3133, allocations: 37.39 kB / 496.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3133, allocations: 0 / 496.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001291/0.3134, allocations: 50.86 kB / 496.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.3134, allocations: 51.41 kB / 496.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.3135, allocations: 162.6 kB / 496.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.3135, allocations: 29.64 kB / 496.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.3135, allocations: 145.2 kB / 496.5 MB, free: 7.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-06/0.3136, allocations: 7.891 kB / 496.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3136, allocations: 29.53 kB / 496.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.3136, allocations: 0.4896 MB / 497 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.3136, allocations: 2.906 kB / 497 MB, free: 6.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.3137, allocations: 43.92 kB / 497.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.3137, allocations: 51.89 kB / 497.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3137, allocations: 1.062 kB / 497.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.987e-05/0.3138, allocations: 66.42 kB / 497.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3138, allocations: 9.359 kB / 497.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3138, allocations: 0 / 497.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3138, allocations: 2.594 kB / 497.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.3138, allocations: 15.88 kB / 497.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.3139, allocations: 2.875 kB / 497.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.3139, allocations: 6.75 kB / 497.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.3139, allocations: 2.969 kB / 497.2 MB, free: 6.352 MB / 362.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 (6): * Single equations (assignments): 6 * 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.662e-05/0.3139, allocations: 159.9 kB / 497.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.3139, allocations: 2.438 kB / 497.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.314, allocations: 63.3 kB / 497.4 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.314, allocations: 4 kB / 497.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.314, allocations: 0 / 497.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.314, allocations: 3.984 kB / 497.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.14e-05/0.3141, allocations: 107.4 kB / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3141, allocations: 0 / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.3141, allocations: 6.281 kB / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3141, allocations: 0 / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-06/0.3141, allocations: 0 / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3141, allocations: 2.219 kB / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3141, allocations: 0 / 497.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.522e-05/0.3142, allocations: 198.3 kB / 497.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.3142, allocations: 10.28 kB / 497.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.3142, allocations: 0 / 497.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.3142, allocations: 0 / 497.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.3142, allocations: 6.391 kB / 497.8 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3142, allocations: 2.781 kB / 497.8 MB, free: 5.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.569e-05/0.3142, allocations: 121.9 kB / 497.9 MB, free: 5.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3142, allocations: 3.938 kB / 497.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.3145, allocations: 101.9 kB / 498 MB, free: 5.656 MB / 362.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 (3): * Single equations (assignments): 3 * 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.000347/0.3149, allocations: 255.2 kB / 498.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.757e-05/0.315, allocations: 25.02 kB / 498.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.315, allocations: 0 / 498.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.315, allocations: 24.36 kB / 498.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3151, allocations: 6.031 kB / 498.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.3155, allocations: 154.2 kB / 498.4 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.195e-05/0.3156, allocations: 58.62 kB / 498.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.108e-05/0.3156, allocations: 8.391 kB / 498.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3156, allocations: 75.55 kB / 498.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3156, allocations: 0 / 498.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of Templates: time 0.004113/0.3198, allocations: 3.25 MB / 0.4901 GB, free: 3.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.462221598252654]