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.0009992/0.0009992, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002626, allocations: 452 kB / 10.43 MB, free: 264 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.0009305/0.0009305, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002255, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9814/0.9814, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.132, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.1308/0.1308, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02203/0.1529, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.433e-06/1.433e-06, allocations: 3.938 kB / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.193e-05, allocations: 6.25 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3169/0.3169, allocations: 145 MB / 412.3 MB, free: 7.047 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3182, allocations: 1.21 MB / 413.5 MB, free: 5.836 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.3183, allocations: 0 / 413.5 MB, free: 5.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3185, allocations: 47.19 kB / 413.6 MB, free: 5.793 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.3206, allocations: 0.8534 MB / 414.4 MB, free: 4.965 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.651e-06/0.3206, allocations: 0 / 414.4 MB, free: 4.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3207, allocations: 43.73 kB / 414.5 MB, free: 4.922 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.3208, allocations: 3.984 kB / 414.5 MB, free: 4.918 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.3209, allocations: 35.84 kB / 414.5 MB, free: 4.883 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.3209, allocations: 19.92 kB / 414.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.321, allocations: 0 / 414.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.323, allocations: 1.427 MB / 416 MB, free: 3.434 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.323, allocations: 11.98 kB / 416 MB, free: 3.422 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.3231, allocations: 12.56 kB / 416 MB, free: 3.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.3247, allocations: 0.7091 MB / 416.7 MB, free: 2.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.091e-05/0.3247, allocations: 0 / 416.7 MB, free: 2.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3247, allocations: 0 / 416.7 MB, free: 2.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3247, allocations: 0 / 416.7 MB, free: 2.699 MB / 394.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.0008465/0.3256, allocations: 0.5049 MB / 417.2 MB, free: 2.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.3256, allocations: 11.97 kB / 417.2 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.3256, allocations: 8.938 kB / 417.2 MB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3258, allocations: 113.7 kB / 417.3 MB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3259, allocations: 4.375 kB / 417.3 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3259, allocations: 384 / 417.3 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.326, allocations: 55.03 kB / 417.4 MB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.326, allocations: 0 / 417.4 MB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.326, allocations: 0 / 417.4 MB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.326, allocations: 4 kB / 417.4 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.326, allocations: 27.91 kB / 417.4 MB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.3263, allocations: 193.8 kB / 417.6 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.506e-05/0.3264, allocations: 34.59 kB / 417.6 MB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.3264, allocations: 8.859 kB / 417.7 MB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.691e-05/0.3264, allocations: 8 kB / 417.7 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3265, allocations: 38.55 kB / 417.7 MB, free: 1.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3265, allocations: 0 / 417.7 MB, free: 1.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000123/0.3266, allocations: 41.69 kB / 417.7 MB, free: 1.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3266, allocations: 51.41 kB / 417.8 MB, free: 1.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.3267, allocations: 106.6 kB / 417.9 MB, free: 1.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.3267, allocations: 29.7 kB / 417.9 MB, free: 1.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3267, allocations: 99.97 kB / 418 MB, free: 1.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.3267, allocations: 7.953 kB / 418 MB, free: 1.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.3268, allocations: 21.67 kB / 418 MB, free: 1.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.3268, allocations: 318.8 kB / 418.4 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.3269, allocations: 11.98 kB / 418.4 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.3269, allocations: 23.44 kB / 418.4 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.3269, allocations: 46.56 kB / 418.4 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3269, allocations: 4 kB / 418.4 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.238e-05/0.327, allocations: 61.59 kB / 418.5 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.327, allocations: 4 kB / 418.5 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.327, allocations: 4 kB / 418.5 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.327, allocations: 0 / 418.5 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.3271, allocations: 21.12 kB / 418.5 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.3271, allocations: 0 / 418.5 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.3271, allocations: 3.938 kB / 418.5 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3271, allocations: 4 kB / 418.5 MB, free: 0.6562 MB / 394.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 5.994e-05/0.3272, allocations: 128.7 kB / 418.7 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.3272, allocations: 0 / 418.7 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.82e-05/0.3273, allocations: 50.31 kB / 418.7 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3273, allocations: 3.938 kB / 418.7 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.3273, allocations: 0 / 418.7 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3273, allocations: 0 / 418.7 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.44e-05/0.3274, allocations: 75.56 kB / 418.8 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3274, allocations: 6.875 kB / 418.8 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.3274, allocations: 8 kB / 418.8 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.3274, allocations: 0 / 418.8 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3274, allocations: 4 kB / 418.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.3274, allocations: 3.984 kB / 418.8 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3274, allocations: 0 / 418.8 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3274, allocations: 0 / 418.8 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.3275, allocations: 139.5 kB / 419 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.3275, allocations: 0 / 419 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.3275, allocations: 0 / 419 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.3275, allocations: 0 / 419 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3275, allocations: 4 kB / 419 MB, free: 200 kB / 394.7 MB Notification: Performance of sorting global known variables: time 1.255e-05/0.3275, allocations: 16.78 kB / 419 MB, free: 180 kB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3275, allocations: 0 / 419 MB, free: 180 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.3278, allocations: 103.6 kB / 419.1 MB, free: 76 kB / 394.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.0004353/0.3283, allocations: 241.8 kB / 419.3 MB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.242e-05/0.3284, allocations: 29.11 kB / 419.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3284, allocations: 0 / 419.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.3284, allocations: 17.27 kB / 419.4 MB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3285, allocations: 19.92 kB / 419.4 MB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3296, allocations: 155.8 kB / 419.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.3296, allocations: 63.34 kB / 419.6 MB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.3297, allocations: 10.84 kB / 419.6 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.3297, allocations: 59.36 kB / 419.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3297, allocations: 0 / 419.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of Templates: time 0.004816/0.3345, allocations: 3.035 MB / 422.7 MB, free: 12.41 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1164223914965987]