Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007848/0.0007848, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001884, 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.0007513/0.0007513, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009217/0.001673, 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 0.9657/0.9657, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08686/1.053, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02098/0.2403, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.528e-05, allocations: 5.391 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1436/0.1436, allocations: 146.7 MB / 439.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1449, allocations: 1.472 MB / 440.8 MB, free: 1.555 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.1449, allocations: 0 / 440.8 MB, free: 1.555 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1451, allocations: 43.69 kB / 440.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.1471, allocations: 1.03 MB / 441.9 MB, free: 488 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.1471, allocations: 0 / 441.9 MB, free: 488 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1472, allocations: 79.56 kB / 442 MB, free: 408 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.1472, allocations: 7.938 kB / 442 MB, free: 400 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.1473, allocations: 32.39 kB / 442 MB, free: 368 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.1473, allocations: 23.92 kB / 442 MB, free: 344 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.667e-06/0.1473, allocations: 0 / 442 MB, free: 344 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1678/0.3151, allocations: 1.687 MB / 443.7 MB, free: 4.156 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.3152, allocations: 12.98 kB / 443.7 MB, free: 4.156 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.3152, allocations: 15.7 kB / 443.7 MB, free: 4.156 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.3166, allocations: 0.8617 MB / 444.6 MB, free: 4.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.112e-05/0.3166, allocations: 3.5 kB / 444.6 MB, free: 4.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3166, allocations: 0 / 444.6 MB, free: 4.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.3166, allocations: 0 / 444.6 MB, free: 4.137 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007408/0.3174, allocations: 0.5746 MB / 445.2 MB, free: 19.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.3174, allocations: 11.03 kB / 445.2 MB, free: 19.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.3174, allocations: 7.375 kB / 445.2 MB, free: 19.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.3175, allocations: 112.8 kB / 445.3 MB, free: 19.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3175, allocations: 0 / 445.3 MB, free: 19.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.3175, allocations: 7.281 kB / 445.3 MB, free: 19.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.3176, allocations: 61.31 kB / 445.4 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3176, allocations: 1.312 kB / 445.4 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3176, allocations: 3.875 kB / 445.4 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.3177, allocations: 7.766 kB / 445.4 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.3177, allocations: 24.69 kB / 445.4 MB, free: 19.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.318, allocations: 209.8 kB / 445.6 MB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.3181, allocations: 74.69 kB / 445.7 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.3181, allocations: 13.39 kB / 445.7 MB, free: 19.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.3183, allocations: 52.91 kB / 445.7 MB, free: 19.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3183, allocations: 34.12 kB / 445.8 MB, free: 19.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.3183, allocations: 0 / 445.8 MB, free: 19.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001168/0.3184, allocations: 55.05 kB / 445.8 MB, free: 19.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3184, allocations: 51.41 kB / 445.9 MB, free: 19.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.3185, allocations: 118 kB / 446 MB, free: 19.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.3185, allocations: 25.7 kB / 446 MB, free: 19.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3185, allocations: 101.8 kB / 446.1 MB, free: 18.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-06/0.3185, allocations: 11.84 kB / 446.1 MB, free: 18.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.3186, allocations: 28.59 kB / 446.2 MB, free: 18.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.3186, allocations: 320.3 kB / 446.5 MB, free: 18.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.3186, allocations: 14.77 kB / 446.5 MB, free: 18.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.3187, allocations: 30.44 kB / 446.5 MB, free: 18.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.3187, allocations: 54.42 kB / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3187, allocations: 3.156 kB / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.832e-05/0.3187, allocations: 67.14 kB / 446.6 MB, free: 18.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3188, allocations: 5.344 kB / 446.6 MB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3188, allocations: 2.141 kB / 446.6 MB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.3188, allocations: 5.562 kB / 446.7 MB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.3188, allocations: 10.75 kB / 446.7 MB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.3188, allocations: 3.562 kB / 446.7 MB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.3189, allocations: 9.797 kB / 446.7 MB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3189, allocations: 3.406 kB / 446.7 MB, free: 18.48 MB / 442.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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 4.759e-05/0.3189, allocations: 121.9 kB / 446.8 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.3189, allocations: 3.25 kB / 446.8 MB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.319, allocations: 59.38 kB / 446.9 MB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.319, allocations: 6.375 kB / 446.9 MB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.319, allocations: 0 / 446.9 MB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.319, allocations: 1.094 kB / 446.9 MB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.095e-05/0.3191, allocations: 83.69 kB / 446.9 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3191, allocations: 5.328 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.3191, allocations: 9.688 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.3191, allocations: 2.656 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3191, allocations: 0.875 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.3191, allocations: 4.062 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3191, allocations: 1.875 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3191, allocations: 2.297 kB / 447 MB, free: 18.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.3192, allocations: 197.9 kB / 447.2 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.3192, allocations: 2.281 kB / 447.2 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.3192, allocations: 0 / 447.2 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.3193, allocations: 5.891 kB / 447.2 MB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3193, allocations: 2.656 kB / 447.2 MB, free: 18.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.11e-05/0.3193, allocations: 11.42 kB / 447.2 MB, free: 18.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3193, allocations: 3.281 kB / 447.2 MB, free: 18.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.3196, allocations: 157.3 kB / 447.3 MB, free: 18.02 MB / 442.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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.000469/0.32, allocations: 333.5 kB / 447.7 MB, free: 17.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.3201, allocations: 30.83 kB / 447.7 MB, free: 17.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.3201, allocations: 4.531 kB / 447.7 MB, free: 17.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.3201, allocations: 22.62 kB / 447.7 MB, free: 17.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.3203, allocations: 18.92 kB / 447.7 MB, free: 17.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3218, allocations: 185.1 kB / 447.9 MB, free: 17.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.784e-05/0.3218, allocations: 59.41 kB / 448 MB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.3219, allocations: 14.77 kB / 448 MB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.3219, allocations: 63.58 kB / 448.1 MB, free: 17.65 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3219, allocations: 0 / 448.1 MB, free: 17.65 MB / 442.7 MB Notification: Performance of Templates: time 0.0049/0.3268, allocations: 4.481 MB / 452.5 MB, free: 17.48 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2186020091176033]