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.0009997/0.0009997, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009172/0.0009172, allocations: 169 kB / 24.25 MB, free: 304 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.8286/0.8286, allocations: 158.6 MB / 186 MB, free: 2.91 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.1238/0.1238, allocations: 32.37 MB / 270.7 MB, free: 14.87 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.723e-06/1.723e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.406e-05, allocations: 10.25 kB / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.31/0.31, allocations: 144.9 MB / 492.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3112, allocations: 1.212 MB / 493.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.3112, allocations: 0 / 493.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.3115, allocations: 42.41 kB / 493.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3131, allocations: 0.8972 MB / 494.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.076e-06/0.3131, allocations: 0 / 494.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.588e-05/0.3132, allocations: 53.05 kB / 494.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.962e-05/0.3133, allocations: 6.094 kB / 494.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.3133, allocations: 22.95 kB / 494.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.3133, allocations: 17.86 kB / 494.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.3133, allocations: 1.719 kB / 494.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.3149, allocations: 1.391 MB / 496.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.315, allocations: 8.516 kB / 496.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.315, allocations: 11.59 kB / 496.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.3159, allocations: 0.8542 MB / 497 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3159, allocations: 0 / 497 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3159, allocations: 0 / 497 MB, free: 7.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3159, allocations: 4 kB / 497 MB, free: 7.77 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.00046/0.3164, allocations: 493.8 kB / 497.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.3164, allocations: 11.28 kB / 497.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3164, allocations: 11.08 kB / 497.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.707e-05/0.3165, allocations: 111.4 kB / 497.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3165, allocations: 4.359 kB / 497.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.3165, allocations: 3.781 kB / 497.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.3166, allocations: 57.44 kB / 497.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3166, allocations: 0 / 497.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3166, allocations: 3.312 kB / 497.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.3166, allocations: 10.89 kB / 497.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.3167, allocations: 21.31 kB / 497.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.3169, allocations: 289.8 kB / 498 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.65e-05/0.317, allocations: 39.05 kB / 498.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.317, allocations: 10.72 kB / 498.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/0.3171, allocations: 21.12 kB / 498.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3171, allocations: 33.39 kB / 498.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3171, allocations: 0 / 498.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001213/0.3172, allocations: 55.39 kB / 498.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.3172, allocations: 51.41 kB / 498.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.3173, allocations: 162.7 kB / 498.4 MB, free: 6.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.3173, allocations: 29.69 kB / 498.4 MB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.3173, allocations: 145 kB / 498.6 MB, free: 6.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-06/0.3173, allocations: 3.953 kB / 498.6 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.3173, allocations: 24.28 kB / 498.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.3174, allocations: 0.4951 MB / 499.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.3174, allocations: 2.375 kB / 499.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.3174, allocations: 43.7 kB / 499.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.3174, allocations: 53.84 kB / 499.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3174, allocations: 3.031 kB / 499.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.178e-05/0.3175, allocations: 67.67 kB / 499.2 MB, free: 5.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3175, allocations: 6.312 kB / 499.3 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3175, allocations: 2.656 kB / 499.3 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3175, allocations: 3.984 kB / 499.3 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.3176, allocations: 8.406 kB / 499.3 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3176, allocations: 2.562 kB / 499.3 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.3176, allocations: 14.44 kB / 499.3 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3176, allocations: 6.562 kB / 499.3 MB, free: 5.594 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.485e-05/0.3177, allocations: 159 kB / 499.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.3177, allocations: 0 / 499.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.954e-05/0.3178, allocations: 62.75 kB / 499.5 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3178, allocations: 4.031 kB / 499.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3178, allocations: 0 / 499.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3178, allocations: 0 / 499.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.197e-05/0.3179, allocations: 128 kB / 499.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3179, allocations: 4 kB / 499.6 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.3179, allocations: 2.844 kB / 499.6 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3179, allocations: 6.906 kB / 499.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.3179, allocations: 0 / 499.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.3179, allocations: 0 / 499.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3179, allocations: 0 / 499.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.632e-05/0.318, allocations: 204.9 kB / 499.9 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-06/0.318, allocations: 0 / 499.9 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.318, allocations: 6.672 kB / 499.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.318, allocations: 0 / 499.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.318, allocations: 0 / 499.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.318, allocations: 6.562 kB / 499.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.271e-05/0.318, allocations: 122.2 kB / 500 MB, free: 4.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.318, allocations: 0 / 500 MB, free: 4.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.3184, allocations: 99.73 kB / 0.4884 GB, free: 4.879 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.0003692/0.3187, allocations: 261.2 kB / 0.4886 GB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.015e-05/0.3188, allocations: 30.17 kB / 0.4886 GB, free: 4.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.3188, allocations: 0 / 0.4886 GB, free: 4.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.3188, allocations: 16.53 kB / 0.4887 GB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.319, allocations: 7.719 kB / 0.4887 GB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.3195, allocations: 156 kB / 0.4888 GB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.389e-05/0.3195, allocations: 58.03 kB / 0.4889 GB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.927e-05/0.3195, allocations: 16.59 kB / 0.4889 GB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.3196, allocations: 15.41 kB / 0.4889 GB, free: 4.465 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3196, allocations: 0 / 0.4889 GB, free: 4.465 MB / 362.7 MB Notification: Performance of Templates: time 0.004135/0.3237, allocations: 2.723 MB / 0.4916 GB, free: 3.098 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.265296374913305]