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.0008729/0.0008729, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.0022, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008221/0.0008221, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002056, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9606/0.9606, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.184/1.145, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1215/0.1215, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01967/0.1412, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.262e-06/1.262e-06, allocations: 0 / 267.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.378e-05, allocations: 6.25 kB / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2773/0.2773, allocations: 144.9 MB / 412.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2784, allocations: 1.214 MB / 413.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.2785, allocations: 0 / 413.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.2787, allocations: 30.8 kB / 413.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.2802, allocations: 0.8577 MB / 414.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.2802, allocations: 0 / 414.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.2803, allocations: 51.72 kB / 414.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2804, allocations: 8 kB / 414.3 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.2804, allocations: 23.91 kB / 414.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.2805, allocations: 23.86 kB / 414.3 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.2805, allocations: 0 / 414.3 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.2821, allocations: 1.431 MB / 415.8 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.2822, allocations: 4 kB / 415.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2822, allocations: 15.94 kB / 415.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.2831, allocations: 0.7052 MB / 416.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.2832, allocations: 4 kB / 416.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2832, allocations: 4 kB / 416.5 MB, free: 2.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2832, allocations: 0 / 416.5 MB, free: 2.031 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.0006828/0.2839, allocations: 0.5126 MB / 417 MB, free: 1.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2839, allocations: 12.03 kB / 417 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.2839, allocations: 0.9375 kB / 417 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.575e-05/0.284, allocations: 113.7 kB / 417.1 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.284, allocations: 384 / 417.1 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.284, allocations: 8.375 kB / 417.2 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2841, allocations: 48.45 kB / 417.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2841, allocations: 0 / 417.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2841, allocations: 15.95 kB / 417.2 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2842, allocations: 8 kB / 417.2 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.2842, allocations: 15.94 kB / 417.2 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.2845, allocations: 185.8 kB / 417.4 MB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.2845, allocations: 34.59 kB / 417.5 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.2846, allocations: 8.859 kB / 417.5 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/0.2846, allocations: 16.61 kB / 417.5 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2846, allocations: 30.56 kB / 417.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.2847, allocations: 0 / 417.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 9.063e-05/0.2847, allocations: 41.69 kB / 417.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.2848, allocations: 51.41 kB / 417.6 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2849, allocations: 118.6 kB / 417.7 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.285, allocations: 25.7 kB / 417.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.285, allocations: 95.98 kB / 417.8 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.285, allocations: 7.906 kB / 417.8 MB, free: 0.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.285, allocations: 21.7 kB / 417.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.2851, allocations: 322.8 kB / 418.2 MB, free: 196 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.2851, allocations: 0 / 418.2 MB, free: 196 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.2851, allocations: 31.42 kB / 418.2 MB, free: 152 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.2851, allocations: 50.19 kB / 418.3 MB, free: 88 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2851, allocations: 0 / 418.3 MB, free: 88 kB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.092e-05/0.2852, allocations: 49.62 kB / 418.3 MB, free: 32 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2852, allocations: 8 kB / 418.3 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2852, allocations: 2.656 kB / 418.3 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.2852, allocations: 3.938 kB / 418.3 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.2853, allocations: 19.92 kB / 418.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.2853, allocations: 0 / 418.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.2853, allocations: 13.97 kB / 418.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2853, allocations: 4.094 kB / 418.4 MB, free: 15.98 MB / 378.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 4.517e-05/0.2854, allocations: 120.6 kB / 418.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.2854, allocations: 4 kB / 418.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/0.2854, allocations: 49.36 kB / 418.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2854, allocations: 0 / 418.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2854, allocations: 4.406 kB / 418.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2855, allocations: 0 / 418.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.065e-05/0.2855, allocations: 69.84 kB / 418.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2855, allocations: 4 kB / 418.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.2855, allocations: 14.86 kB / 418.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.2856, allocations: 7.953 kB / 418.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2856, allocations: 3.984 kB / 418.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.2856, allocations: 0 / 418.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.2856, allocations: 0 / 418.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2856, allocations: 0 / 418.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.424e-05/0.2856, allocations: 135.5 kB / 418.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.2856, allocations: 0 / 418.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.2856, allocations: 0 / 418.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.2856, allocations: 7.984 kB / 418.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2857, allocations: 8 kB / 418.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.798e-06/0.2857, allocations: 12.8 kB / 418.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2857, allocations: 0 / 418.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.2859, allocations: 95.61 kB / 418.9 MB, free: 15.4 MB / 378.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.0003412/0.2862, allocations: 237.9 kB / 419.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.564e-05/0.2863, allocations: 24.83 kB / 419.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.2863, allocations: 5.562 kB / 419.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.2863, allocations: 24.78 kB / 419.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.2864, allocations: 7.938 kB / 419.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.2874, allocations: 155.9 kB / 419.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.2874, allocations: 59.34 kB / 419.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.2875, allocations: 11.5 kB / 419.4 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2875, allocations: 59.31 kB / 419.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2875, allocations: 0 / 419.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004405/0.2919, allocations: 3.247 MB / 422.7 MB, free: 11.54 MB / 378.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0734964478760958]