Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189 kB / 23.7 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.7 MB / 252.5 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 51.92 kB / 370.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2626, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.01078/0.2734, allocations: 4.206 MB / 427.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.2773, allocations: 1.615 MB / 428.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.2774, allocations: 4 kB / 428.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.2777, allocations: 39.69 kB / 428.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.2783, allocations: 119.2 kB / 429 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2795, allocations: 255.6 kB / 429.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.2801, allocations: 294.8 kB / 429.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.544e-05/0.2802, allocations: 5.312 kB / 429.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.2806, allocations: 135.6 kB / 429.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2809, allocations: 83.59 kB / 429.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.2809, allocations: 8 kB / 429.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.2813, allocations: 91.88 kB / 429.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2814, allocations: 35.91 kB / 429.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.2816, allocations: 71.77 kB / 430 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.2821, allocations: 221.5 kB / 430.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2821, allocations: 0 / 430.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2821, allocations: 0 / 430.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2822, allocations: 0 / 430.2 MB, free: 7.305 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001536/0.2837, allocations: 413.9 kB / 430.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2837, allocations: 12.03 kB / 430.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.2841, allocations: 24.83 kB / 430.6 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.2846, allocations: 150.3 kB / 430.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.2846, allocations: 12.64 kB / 430.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.2846, allocations: 28.19 kB / 430.8 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.2856, allocations: 379.8 kB / 431.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.2856, allocations: 0 / 431.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.2856, allocations: 12 kB / 431.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2856, allocations: 0 / 431.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.2863, allocations: 151.8 kB / 431.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.2885, allocations: 0.8406 MB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007426/0.2893, allocations: 138.8 kB / 432.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.2895, allocations: 56.83 kB / 432.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008196/0.2904, allocations: 324.1 kB / 432.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.2904, allocations: 34.5 kB / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.435e-06/0.2904, allocations: 0 / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.004519/0.2949, allocations: 0.7103 MB / 433.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.295, allocations: 55.41 kB / 433.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2952, allocations: 164 kB / 433.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.2953, allocations: 29.7 kB / 433.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.2954, allocations: 136.1 kB / 433.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.2956, allocations: 75.41 kB / 433.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.2957, allocations: 65.64 kB / 434 MB, free: 3.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.296, allocations: 322.8 kB / 434.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.2965, allocations: 83.94 kB / 434.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.2971, allocations: 205.9 kB / 434.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.2983, allocations: 295.4 kB / 434.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2983, allocations: 0 / 434.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00146/0.2998, allocations: 332.2 kB / 435.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2998, allocations: 4 kB / 435.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2998, allocations: 4 kB / 435.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.2998, allocations: 8 kB / 435.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.3005, allocations: 75.89 kB / 435.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3005, allocations: 4 kB / 435.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.3009, allocations: 23.92 kB / 435.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.301, allocations: 15.98 kB / 435.3 MB, free: 1.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 0.0002152/0.3012, allocations: 145.8 kB / 435.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.3013, allocations: 15.91 kB / 435.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3025, allocations: 238.5 kB / 435.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3025, allocations: 4 kB / 435.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3025, allocations: 0 / 435.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3025, allocations: 0 / 435.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.3049, allocations: 0.5248 MB / 436.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3049, allocations: 0 / 436.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.3055, allocations: 60.08 kB / 436.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.3055, allocations: 4 kB / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.3055, allocations: 4 kB / 436.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3055, allocations: 0 / 436.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.3055, allocations: 7.922 kB / 436.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.3071, allocations: 410.9 kB / 436.7 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3071, allocations: 15.94 kB / 436.7 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.3072, allocations: 8 kB / 436.7 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.3076, allocations: 7.984 kB / 436.7 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.3077, allocations: 31.83 kB / 436.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.3077, allocations: 7.984 kB / 436.8 MB, free: 264 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3079, allocations: 107.3 kB / 436.9 MB, free: 156 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3079, allocations: 64 / 436.9 MB, free: 156 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007357/0.3086, allocations: 67.94 kB / 437 MB, free: 88 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0003642/0.309, allocations: 131.1 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3101, allocations: 217.5 kB / 437.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3101, allocations: 0 / 437.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.3106, allocations: 89 kB / 437.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.3113, allocations: 47.91 kB / 437.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3131, allocations: 472.8 kB / 437.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3133, allocations: 103.3 kB / 438 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.3137, allocations: 41.94 kB / 438 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3139, allocations: 23.42 kB / 438.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3139, allocations: 4 kB / 438.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Templates: time 0.01204/0.3259, allocations: 2.897 MB / 441 MB, free: 12.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.455497907474637]