Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.0007614/0.0007614, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001783, 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.0006957/0.0006957, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009166/0.001612, 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.9349/0.9349, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07636/1.011, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.775e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003817/0.003834, allocations: 4.673 MB / 249.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.005078, allocations: 1.837 MB / 251 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.005119, allocations: 4 kB / 251 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.005247, allocations: 43.73 kB / 251.1 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.005436, allocations: 123.1 kB / 251.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.005782, allocations: 261.9 kB / 251.4 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.006013, allocations: 294.8 kB / 251.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.006046, allocations: 9.969 kB / 251.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.006246, allocations: 175.5 kB / 251.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.006329, allocations: 71.8 kB / 252 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.006346, allocations: 8 kB / 252 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.006503, allocations: 99.86 kB / 252.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.00655, allocations: 35.86 kB / 252.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.006597, allocations: 43.94 kB / 252.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.006805, allocations: 179.4 kB / 252.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.006815, allocations: 0 / 252.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006816, allocations: 0 / 252.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.006826, allocations: 0 / 252.3 MB, free: 6.48 MB / 250.7 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.0005896/0.007416, allocations: 0.4933 MB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.007442, allocations: 16.03 kB / 252.8 MB, free: 5.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.007558, allocations: 40.78 kB / 252.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.007696, allocations: 149.5 kB / 253 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.007706, allocations: 12.66 kB / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.007734, allocations: 16.38 kB / 253.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.007956, allocations: 337 kB / 253.4 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.007964, allocations: 4.125 kB / 253.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.007981, allocations: 12.12 kB / 253.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007986, allocations: 0 / 253.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.008073, allocations: 82.72 kB / 253.5 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.008686, allocations: 0.7483 MB / 254.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.008835, allocations: 133.3 kB / 254.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.008867, allocations: 36.78 kB / 254.4 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.009118, allocations: 338.3 kB / 254.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.009137, allocations: 34.56 kB / 254.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.009138, allocations: 0 / 254.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001134/0.01027, allocations: 0.6244 MB / 255.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.01029, allocations: 51.41 kB / 255.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.01037, allocations: 164.9 kB / 255.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.01038, allocations: 29.7 kB / 255.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.01043, allocations: 144.1 kB / 255.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.01047, allocations: 83.3 kB / 255.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.01053, allocations: 61.62 kB / 255.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.0106, allocations: 330.7 kB / 256.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.01065, allocations: 38.81 kB / 256.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.01073, allocations: 145.4 kB / 256.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.01088, allocations: 211.1 kB / 256.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01088, allocations: 8 kB / 256.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001776/0.01106, allocations: 207 kB / 256.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.01107, allocations: 11.28 kB / 256.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01107, allocations: 8 kB / 256.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.01108, allocations: 4 kB / 256.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.01129, allocations: 87.89 kB / 256.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01129, allocations: 11.92 kB / 256.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.01137, allocations: 12 kB / 257 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.01139, allocations: 12 kB / 257 MB, free: 1.449 MB / 250.7 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 6.861e-05/0.01146, allocations: 136.5 kB / 257.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01149, allocations: 23.97 kB / 257.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01166, allocations: 142.6 kB / 257.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.01166, allocations: 4 kB / 257.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01166, allocations: 7.922 kB / 257.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01166, allocations: 0 / 257.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.01208, allocations: 418 kB / 257.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01208, allocations: 4.125 kB / 257.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.01222, allocations: 51.95 kB / 257.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.01225, allocations: 19.89 kB / 257.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01226, allocations: 4 kB / 257.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.01227, allocations: 11.92 kB / 257.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01227, allocations: 7.938 kB / 257.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01227, allocations: 0 / 257.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.01249, allocations: 316.8 kB / 258.1 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.0125, allocations: 11.94 kB / 258.1 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.01259, allocations: 15.92 kB / 258.1 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.01261, allocations: 15.92 kB / 258.1 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.01262, allocations: 15.98 kB / 258.2 MB, free: 192 kB / 250.7 MB Notification: Performance of sorting global known variables: time 2.125e-05/0.01264, allocations: 31.88 kB / 258.2 MB, free: 160 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01264, allocations: 0 / 258.2 MB, free: 160 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.01284, allocations: 63.94 kB / 258.2 MB, free: 96 kB / 250.7 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.0001292/0.01297, allocations: 108.5 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.01313, allocations: 145.3 kB / 258.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.01314, allocations: 4 kB / 258.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.01319, allocations: 64.89 kB / 258.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.0134, allocations: 59.89 kB / 258.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.01593, allocations: 416 kB / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.01597, allocations: 68.34 kB / 259.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.0161, allocations: 53.86 kB / 259.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.01624, allocations: 95.33 kB / 259.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01624, allocations: 0 / 259.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Templates: time 0.004064/0.0203, allocations: 3.079 MB / 262.3 MB, free: 11.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.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: 2.3800150770694017]