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.001282/0.001282, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.00115/0.00115, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 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.9693/0.9693, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.13/0.13, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.222e-06/1.222e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.698e-05, allocations: 4.281 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2873/0.2873, allocations: 142.4 MB / 491.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2884, allocations: 1.193 MB / 492.5 MB, free: 9.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.2885, allocations: 3.938 kB / 492.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2888, allocations: 36.42 kB / 492.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.2907, allocations: 0.9 MB / 493.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.63e-06/0.2907, allocations: 0 / 493.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2908, allocations: 48.28 kB / 493.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.2908, allocations: 9.484 kB / 493.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.2909, allocations: 21.66 kB / 493.5 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.2909, allocations: 20.66 kB / 493.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.914e-06/0.2909, allocations: 0 / 493.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.2924, allocations: 1.387 MB / 494.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.2924, allocations: 11.23 kB / 494.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.2924, allocations: 11.28 kB / 494.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008634/0.2933, allocations: 0.857 MB / 495.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2933, allocations: 0 / 495.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2933, allocations: 6.844 kB / 495.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2933, allocations: 0 / 495.8 MB, free: 8.469 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.0004736/0.2938, allocations: 493.6 kB / 496.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2938, allocations: 8.594 kB / 496.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2938, allocations: 11.16 kB / 496.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.173e-05/0.2939, allocations: 119.2 kB / 496.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2939, allocations: 3.656 kB / 496.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.2939, allocations: 6.344 kB / 496.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.294, allocations: 42.16 kB / 496.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.294, allocations: 0 / 496.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.294, allocations: 6.156 kB / 496.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.294, allocations: 6.625 kB / 496.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.294, allocations: 17.83 kB / 496.5 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.2942, allocations: 270.4 kB / 496.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.2943, allocations: 41.77 kB / 496.8 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.2943, allocations: 10.16 kB / 496.8 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.2944, allocations: 19.8 kB / 496.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.2944, allocations: 35.77 kB / 496.8 MB, free: 7.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2944, allocations: 0 / 496.8 MB, free: 7.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 9.935e-05/0.2945, allocations: 48.45 kB / 496.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.2945, allocations: 55.41 kB / 496.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.916e-05/0.2945, allocations: 162.4 kB / 497.1 MB, free: 7.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-06/0.2945, allocations: 29.64 kB / 497.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.2946, allocations: 144.2 kB / 497.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-06/0.2946, allocations: 6.516 kB / 497.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.2946, allocations: 29.94 kB / 497.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.2946, allocations: 498.9 kB / 497.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.2946, allocations: 6.969 kB / 497.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.2947, allocations: 42.98 kB / 497.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.2947, allocations: 52.97 kB / 497.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2947, allocations: 0 / 497.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.412e-05/0.2948, allocations: 67.69 kB / 498 MB, free: 6.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2948, allocations: 5.719 kB / 498 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2948, allocations: 2.25 kB / 498 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.2948, allocations: 0 / 498 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.2948, allocations: 11.5 kB / 498 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2948, allocations: 3.938 kB / 498 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.2949, allocations: 6.188 kB / 498 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2949, allocations: 10.28 kB / 498 MB, free: 6.32 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.772e-05/0.2949, allocations: 168.5 kB / 498.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.2949, allocations: 432 / 498.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/0.295, allocations: 59.62 kB / 498.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.295, allocations: 0 / 498.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.295, allocations: 0 / 498.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.295, allocations: 2.875 kB / 498.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.002e-05/0.2951, allocations: 101.6 kB / 498.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2951, allocations: 7 kB / 498.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.2951, allocations: 9.656 kB / 498.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2951, allocations: 2.562 kB / 498.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.2951, allocations: 0 / 498.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.2951, allocations: 0 / 498.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2951, allocations: 0 / 498.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.333e-05/0.2951, allocations: 197.7 kB / 498.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.2952, allocations: 0 / 498.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.2952, allocations: 6.828 kB / 498.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.2952, allocations: 0 / 498.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.2952, allocations: 0 / 498.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2952, allocations: 6.469 kB / 498.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.405e-05/0.2952, allocations: 129.2 kB / 498.7 MB, free: 5.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2952, allocations: 0 / 498.7 MB, free: 5.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.2955, allocations: 97.73 kB / 498.8 MB, free: 5.629 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.000338/0.2958, allocations: 259.3 kB / 499 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.2959, allocations: 34.59 kB / 499.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.2959, allocations: 4.188 kB / 499.1 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.2959, allocations: 14.81 kB / 499.1 MB, free: 5.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.2961, allocations: 10.53 kB / 499.1 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.2964, allocations: 143 kB / 499.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.31e-05/0.2964, allocations: 61.81 kB / 499.3 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.2965, allocations: 15.7 kB / 499.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.2965, allocations: 75.44 kB / 499.4 MB, free: 5.152 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2965, allocations: 0 / 499.4 MB, free: 5.152 MB / 362.7 MB Notification: Performance of Templates: time 0.003844/0.3004, allocations: 3.248 MB / 0.4908 GB, free: 3.492 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.368788114748895]