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.0009857/0.0009857, allocations: 80.05 kB / 20.72 MB, free: 3.773 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.001737/0.001737, allocations: 169 kB / 24.14 MB, free: 364 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.9486/0.9486, allocations: 158.6 MB / 186 MB, free: 2.781 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.1377/0.1377, allocations: 32.37 MB / 270.7 MB, free: 14.62 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.853e-06/1.853e-06, allocations: 0 / 299 MB, free: 2.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.715e-05, allocations: 6.25 kB / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.324/0.324, allocations: 144.5 MB / 443.6 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3255, allocations: 1.207 MB / 444.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.3256, allocations: 0 / 444.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.3259, allocations: 39.75 kB / 444.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.3286, allocations: 0.9058 MB / 445.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.932e-06/0.3286, allocations: 0 / 445.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3287, allocations: 51.72 kB / 445.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.3287, allocations: 0 / 445.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.3288, allocations: 31.89 kB / 445.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.3289, allocations: 15.98 kB / 445.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.3289, allocations: 0 / 445.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.3316, allocations: 1.376 MB / 447.2 MB, free: 9.699 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3317, allocations: 15.97 kB / 447.2 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.3317, allocations: 11.94 kB / 447.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.3335, allocations: 0.857 MB / 448.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3335, allocations: 0 / 448.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3335, allocations: 0 / 448.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3335, allocations: 0 / 448.1 MB, free: 8.812 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006892/0.3342, allocations: 380.4 kB / 448.4 MB, free: 8.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3343, allocations: 8.031 kB / 448.5 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.3343, allocations: 4.938 kB / 448.5 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.3344, allocations: 109.7 kB / 448.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3344, allocations: 8.312 kB / 448.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3344, allocations: 8.125 kB / 448.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.964e-05/0.3345, allocations: 44.52 kB / 448.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3345, allocations: 3.984 kB / 448.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.3345, allocations: 0 / 448.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.3345, allocations: 8 kB / 448.6 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.3345, allocations: 15.98 kB / 448.7 MB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.3349, allocations: 201.8 kB / 448.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.3349, allocations: 22.58 kB / 448.9 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.3349, allocations: 12.84 kB / 448.9 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.335, allocations: 12.09 kB / 448.9 MB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.335, allocations: 42.48 kB / 448.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.335, allocations: 0 / 448.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001191/0.3352, allocations: 37.69 kB / 449 MB, free: 7.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.3352, allocations: 51.41 kB / 449 MB, free: 7.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.3352, allocations: 102.7 kB / 449.1 MB, free: 7.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.3353, allocations: 29.7 kB / 449.2 MB, free: 7.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.3353, allocations: 104 kB / 449.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.3353, allocations: 15.84 kB / 449.3 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.3353, allocations: 17.72 kB / 449.3 MB, free: 7.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.3354, allocations: 318.8 kB / 449.6 MB, free: 7.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.3354, allocations: 7.984 kB / 449.6 MB, free: 7.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.3355, allocations: 31.38 kB / 449.6 MB, free: 7.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.3355, allocations: 38.19 kB / 449.7 MB, free: 7.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3355, allocations: 8 kB / 449.7 MB, free: 7.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.985e-05/0.3356, allocations: 53.62 kB / 449.7 MB, free: 6.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3356, allocations: 4 kB / 449.7 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3356, allocations: 0 / 449.7 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3356, allocations: 7.984 kB / 449.7 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.3357, allocations: 8 kB / 449.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3357, allocations: 0.5469 kB / 449.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.3357, allocations: 5.312 kB / 449.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3357, allocations: 11.88 kB / 449.8 MB, free: 6.934 MB / 410.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 7.079e-05/0.3358, allocations: 124.7 kB / 449.9 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.3358, allocations: 7.984 kB / 449.9 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.3359, allocations: 47.25 kB / 449.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3359, allocations: 480 / 449.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3359, allocations: 0 / 449.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3359, allocations: 0 / 449.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.336, allocations: 77.81 kB / 450 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.336, allocations: 0 / 450 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.336, allocations: 8 kB / 450 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.336, allocations: 3.984 kB / 450 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.336, allocations: 4.75 kB / 450 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.336, allocations: 4 kB / 450 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.336, allocations: 0 / 450 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.3361, allocations: 135.5 kB / 450.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.3365, allocations: 7.953 kB / 450.2 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.3365, allocations: 0 / 450.2 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.3365, allocations: 5.234 kB / 450.2 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3366, allocations: 0 / 450.2 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3366, allocations: 4 kB / 450.2 MB, free: 6.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.447e-05/0.3366, allocations: 8.859 kB / 450.2 MB, free: 6.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3366, allocations: 0 / 450.2 MB, free: 6.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.337, allocations: 103.6 kB / 450.3 MB, free: 6.352 MB / 410.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.0004846/0.3374, allocations: 237.8 kB / 450.5 MB, free: 6.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.3375, allocations: 24.8 kB / 450.6 MB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.3376, allocations: 0 / 450.6 MB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.3376, allocations: 20.97 kB / 450.6 MB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.3377, allocations: 7.938 kB / 450.6 MB, free: 6.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.3384, allocations: 151.9 kB / 450.7 MB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.3384, allocations: 59.34 kB / 450.8 MB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.3385, allocations: 11 kB / 450.8 MB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.3385, allocations: 51.38 kB / 450.9 MB, free: 5.738 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3385, allocations: 3.938 kB / 450.9 MB, free: 5.734 MB / 410.7 MB Notification: Performance of Templates: time 0.005475/0.344, allocations: 3.234 MB / 454.1 MB, free: 2.52 MB / 410.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.66125816013664]