Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001271/0.001271, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.003008, allocations: 445.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.00125/0.00125, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002811, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 1.005/1.005, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1619/1.167, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.836e-05, allocations: 5.406 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00607/0.006089, allocations: 4.598 MB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.008187, allocations: 1.833 MB / 228.3 MB, free: 9.715 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.008247, allocations: 0 / 228.3 MB, free: 9.715 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.008409, allocations: 35.75 kB / 228.3 MB, free: 9.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.008689, allocations: 131.1 kB / 228.4 MB, free: 9.551 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.009215, allocations: 243.2 kB / 228.7 MB, free: 9.312 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.009539, allocations: 302.6 kB / 228.9 MB, free: 9.016 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.00959, allocations: 17.69 kB / 229 MB, free: 8.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.009872, allocations: 167.6 kB / 229.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.009996, allocations: 67.75 kB / 229.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.01002, allocations: 8 kB / 229.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.01024, allocations: 107.8 kB / 229.3 MB, free: 8.652 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.0103, allocations: 23.94 kB / 229.3 MB, free: 8.629 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.01037, allocations: 47.94 kB / 229.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.01066, allocations: 171.4 kB / 229.5 MB, free: 8.414 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.725e-05/0.01068, allocations: 4 kB / 229.6 MB, free: 8.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01068, allocations: 0 / 229.6 MB, free: 8.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.0107, allocations: 3.984 kB / 229.6 MB, free: 8.406 MB / 234.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.0007419/0.01144, allocations: 497.3 kB / 230 MB, free: 7.879 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.01147, allocations: 8.031 kB / 230 MB, free: 7.871 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.01164, allocations: 48.73 kB / 230.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.01182, allocations: 137.6 kB / 230.2 MB, free: 7.664 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.01183, allocations: 8.656 kB / 230.2 MB, free: 7.656 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.01187, allocations: 24.33 kB / 230.3 MB, free: 7.633 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.01216, allocations: 338.9 kB / 230.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01217, allocations: 4.172 kB / 230.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.01219, allocations: 16.12 kB / 230.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01219, allocations: 8 kB / 230.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.01231, allocations: 70.66 kB / 230.7 MB, free: 7.141 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.01319, allocations: 0.76 MB / 231.4 MB, free: 6.344 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.01338, allocations: 145.2 kB / 231.6 MB, free: 6.191 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.01342, allocations: 20.86 kB / 231.6 MB, free: 6.168 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.01375, allocations: 338.4 kB / 231.9 MB, free: 5.824 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.01378, allocations: 38.56 kB / 232 MB, free: 5.777 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.01378, allocations: 0 / 232 MB, free: 5.777 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.00159/0.01538, allocations: 0.6177 MB / 232.6 MB, free: 5.125 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.01541, allocations: 55.34 kB / 232.7 MB, free: 5.059 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01552, allocations: 174.3 kB / 232.8 MB, free: 4.875 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.01554, allocations: 25.7 kB / 232.8 MB, free: 4.844 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.01561, allocations: 144.1 kB / 233 MB, free: 4.699 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.01566, allocations: 75.36 kB / 233.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.01575, allocations: 65.62 kB / 233.1 MB, free: 4.555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01586, allocations: 326.8 kB / 233.4 MB, free: 4.227 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.01593, allocations: 34.81 kB / 233.5 MB, free: 4.191 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.01605, allocations: 145.4 kB / 233.6 MB, free: 4 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.01627, allocations: 219.1 kB / 233.8 MB, free: 3.734 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01628, allocations: 0 / 233.8 MB, free: 3.734 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002798/0.01656, allocations: 200.5 kB / 234 MB, free: 3.531 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01657, allocations: 8.031 kB / 234 MB, free: 3.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01658, allocations: 4 kB / 234 MB, free: 3.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01659, allocations: 11.94 kB / 234.1 MB, free: 3.508 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.01688, allocations: 91.88 kB / 234.1 MB, free: 3.418 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.01689, allocations: 4 kB / 234.1 MB, free: 3.414 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.01702, allocations: 19.92 kB / 234.2 MB, free: 3.395 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.01704, allocations: 8 kB / 234.2 MB, free: 3.387 MB / 234.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 9.241e-05/0.01714, allocations: 136.5 kB / 234.3 MB, free: 3.242 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.01718, allocations: 19.98 kB / 234.3 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.01742, allocations: 138.7 kB / 234.5 MB, free: 3.078 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01742, allocations: 0 / 234.5 MB, free: 3.078 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01743, allocations: 4 kB / 234.5 MB, free: 3.074 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01743, allocations: 3.938 kB / 234.5 MB, free: 3.07 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.01802, allocations: 426.1 kB / 234.9 MB, free: 2.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01803, allocations: 0 / 234.9 MB, free: 2.617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.01823, allocations: 63.88 kB / 234.9 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01825, allocations: 19.91 kB / 235 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.01825, allocations: 3.938 kB / 235 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01827, allocations: 4 kB / 235 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01827, allocations: 4 kB / 235 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01828, allocations: 3.984 kB / 235 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.01858, allocations: 326 kB / 235.3 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.01861, allocations: 11.94 kB / 235.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01875, allocations: 8 kB / 235.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.01877, allocations: 11.97 kB / 235.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.01879, allocations: 15.98 kB / 235.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.01883, allocations: 29.7 kB / 235.4 MB, free: 2.094 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01883, allocations: 0 / 235.4 MB, free: 2.094 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.01914, allocations: 60 kB / 235.4 MB, free: 2.035 MB / 234.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.0002024/0.01935, allocations: 116.3 kB / 235.6 MB, free: 1.914 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.01957, allocations: 143.3 kB / 235.7 MB, free: 1.773 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/0.01959, allocations: 4 kB / 235.7 MB, free: 1.77 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.01968, allocations: 68.69 kB / 235.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.01997, allocations: 55.95 kB / 235.8 MB, free: 1.645 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.02343, allocations: 411.7 kB / 236.2 MB, free: 1.203 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.827e-05/0.02349, allocations: 80.28 kB / 236.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.02368, allocations: 41.89 kB / 236.3 MB, free: 1.062 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.02387, allocations: 107.3 kB / 236.4 MB, free: 0.957 MB / 234.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02387, allocations: 0 / 236.4 MB, free: 0.957 MB / 234.7 MB Notification: Performance of Templates: time 0.006278/0.03015, allocations: 3.083 MB / 239.5 MB, free: 13.88 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.615648007951677]