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.001307/0.001307, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001319/0.001319, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.414/1.414, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001646/0.001646, allocations: 51.92 kB / 368.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2822, allocations: 52.14 MB / 420.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00641/0.2887, allocations: 4.532 MB / 425.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2908, allocations: 1.826 MB / 427.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.2909, allocations: 0 / 427.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.2912, allocations: 55.61 kB / 427.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.2916, allocations: 123.2 kB / 427.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.2923, allocations: 249.6 kB / 427.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.2927, allocations: 283 kB / 427.9 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.2927, allocations: 9.125 kB / 427.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.293, allocations: 135.6 kB / 428 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.2932, allocations: 79.62 kB / 428.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2932, allocations: 8 kB / 428.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.2934, allocations: 99.91 kB / 428.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.2935, allocations: 35.84 kB / 428.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2936, allocations: 87.64 kB / 428.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.294, allocations: 204.6 kB / 428.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.294, allocations: 0 / 428.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.294, allocations: 0 / 428.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.294, allocations: 0 / 428.5 MB, free: 7.398 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.001046/0.295, allocations: 498.9 kB / 429 MB, free: 6.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.2951, allocations: 16.03 kB / 429 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.2953, allocations: 24.83 kB / 429.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2957, allocations: 204.2 kB / 429.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.2957, allocations: 12.66 kB / 429.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.2957, allocations: 16.33 kB / 429.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.2962, allocations: 221.6 kB / 429.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2962, allocations: 0 / 429.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.2962, allocations: 8 kB / 429.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2962, allocations: 4 kB / 429.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.2966, allocations: 147.8 kB / 429.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.298, allocations: 0.9442 MB / 430.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.2984, allocations: 154.7 kB / 430.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2986, allocations: 48.83 kB / 430.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005871/0.2992, allocations: 0.4994 MB / 431.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2992, allocations: 34.56 kB / 431.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.2992, allocations: 4 kB / 431.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002645/0.3019, allocations: 0.7705 MB / 432.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3019, allocations: 59.41 kB / 432.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.302, allocations: 154.3 kB / 432.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3021, allocations: 33.7 kB / 432.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3022, allocations: 136.2 kB / 432.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.3023, allocations: 87.23 kB / 432.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3024, allocations: 53.7 kB / 432.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3025, allocations: 330.8 kB / 433 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.3028, allocations: 83.95 kB / 433 MB, free: 2.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.3031, allocations: 194.4 kB / 433.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.3037, allocations: 304.1 kB / 433.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3037, allocations: 0 / 433.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007317/0.3044, allocations: 314.1 kB / 433.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3045, allocations: 8 kB / 433.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3045, allocations: 4 kB / 433.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3045, allocations: 8.453 kB / 433.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.3049, allocations: 91.83 kB / 433.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3049, allocations: 4 kB / 433.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3051, allocations: 15.98 kB / 434 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.3052, allocations: 16 kB / 434 MB, free: 1.492 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.0001345/0.3054, allocations: 137.7 kB / 434.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.3054, allocations: 19.89 kB / 434.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.3061, allocations: 245.5 kB / 434.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3061, allocations: 0 / 434.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3061, allocations: 3.984 kB / 434.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3061, allocations: 4 kB / 434.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.3075, allocations: 0.5838 MB / 435 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3075, allocations: 4.125 kB / 435 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.3078, allocations: 63.89 kB / 435 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3078, allocations: 0 / 435 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.3078, allocations: 4 kB / 435 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3078, allocations: 7.938 kB / 435 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3078, allocations: 3.938 kB / 435 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.3087, allocations: 407.1 kB / 435.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.3088, allocations: 97.05 kB / 435.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.3088, allocations: 11.94 kB / 435.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3091, allocations: 15.98 kB / 435.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.3091, allocations: 7.984 kB / 435.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3091, allocations: 15.98 kB / 435.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.3092, allocations: 108.8 kB / 435.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3092, allocations: 0 / 435.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.3096, allocations: 63.94 kB / 435.8 MB, free: 15.59 MB / 350.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.0002427/0.3098, allocations: 139.1 kB / 435.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.3105, allocations: 210.7 kB / 436.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3105, allocations: 0 / 436.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.3107, allocations: 100.2 kB / 436.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3111, allocations: 35.42 kB / 436.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3122, allocations: 483.3 kB / 436.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3126, allocations: 0.7128 MB / 437.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.3128, allocations: 49.88 kB / 437.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.3129, allocations: 27.42 kB / 437.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3129, allocations: 0 / 437.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Templates: time 0.00658/0.3195, allocations: 2.809 MB / 440.3 MB, free: 10.98 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.535754632204771]