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.00158/0.00158, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001818/0.001818, allocations: 166 kB / 25.6 MB, free: 8.898 MB / 18.57 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.043/1.043, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.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.713e-06/1.713e-06, allocations: 0 / 251.4 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.219e-05, allocations: 2.312 kB / 251.4 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004338/0.004361, allocations: 4.523 MB / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.00616, allocations: 1.798 MB / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.282e-05/0.006242, allocations: 0 / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.006518, allocations: 43.69 kB / 257.8 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.006882, allocations: 139 kB / 257.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.007489, allocations: 247.2 kB / 258.2 MB, free: 496 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.007815, allocations: 298.6 kB / 258.5 MB, free: 196 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.007863, allocations: 5.312 kB / 258.5 MB, free: 188 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.008123, allocations: 175.5 kB / 258.7 MB, free: 12 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.008244, allocations: 71.78 kB / 258.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.008275, allocations: 8 kB / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.008455, allocations: 87.88 kB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.008529, allocations: 43.81 kB / 258.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.00859, allocations: 55.91 kB / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.008866, allocations: 199.4 kB / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.008869, allocations: 0 / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.00887, allocations: 0 / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.008875, allocations: 0 / 259.1 MB, free: 15.55 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.0006105/0.009486, allocations: 0.5079 MB / 259.6 MB, free: 15.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.009527, allocations: 11.98 kB / 259.6 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.009662, allocations: 44.7 kB / 259.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.009829, allocations: 152.4 kB / 259.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.009841, allocations: 12.66 kB / 259.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.009871, allocations: 20.36 kB / 259.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.01014, allocations: 361 kB / 260.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01015, allocations: 4.141 kB / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.01016, allocations: 12.12 kB / 260.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.01017, allocations: 4 kB / 260.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01028, allocations: 79.86 kB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.01107, allocations: 1.076 MB / 261.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.01123, allocations: 111.3 kB / 261.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.01127, allocations: 39.66 kB / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.01161, allocations: 427.8 kB / 261.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.01163, allocations: 33.39 kB / 262 MB, free: 12.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.01163, allocations: 4 kB / 262 MB, free: 12.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.000898/0.01253, allocations: 0.5129 MB / 262.5 MB, free: 11.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.01256, allocations: 55.41 kB / 262.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01266, allocations: 225.5 kB / 262.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01268, allocations: 29.7 kB / 262.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.01275, allocations: 190.8 kB / 263 MB, free: 11.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.0128, allocations: 79.31 kB / 263.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.01287, allocations: 71.31 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01299, allocations: 0.4962 MB / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.01304, allocations: 35.97 kB / 263.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01317, allocations: 198.7 kB / 263.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01336, allocations: 258.7 kB / 264.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01337, allocations: 4 kB / 264.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002374/0.0136, allocations: 241.1 kB / 264.4 MB, free: 9.844 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.01362, allocations: 4.469 kB / 264.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01362, allocations: 11.94 kB / 264.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01363, allocations: 8 kB / 264.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.01381, allocations: 79.89 kB / 264.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01381, allocations: 4 kB / 264.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.01389, allocations: 15.98 kB / 264.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.01391, allocations: 12 kB / 264.5 MB, free: 9.711 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 8.477e-05/0.014, allocations: 172.5 kB / 264.7 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.01403, allocations: 19.91 kB / 264.7 MB, free: 9.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01425, allocations: 182.6 kB / 264.8 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01426, allocations: 4 kB / 264.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01426, allocations: 0 / 264.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01426, allocations: 0 / 264.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.01479, allocations: 0.4924 MB / 265.3 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01479, allocations: 8.125 kB / 265.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.01492, allocations: 47.91 kB / 265.4 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01492, allocations: 0 / 265.4 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01493, allocations: 15.92 kB / 265.4 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01493, allocations: 0 / 265.4 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01494, allocations: 4 kB / 265.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.01523, allocations: 366.8 kB / 265.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.01524, allocations: 19.94 kB / 265.8 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.01526, allocations: 0 / 265.8 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.01535, allocations: 15.98 kB / 265.8 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.01536, allocations: 7.984 kB / 265.8 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01538, allocations: 11.98 kB / 265.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.237e-05/0.01544, allocations: 156 kB / 266 MB, free: 8.109 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01544, allocations: 0 / 266 MB, free: 8.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000235/0.01568, allocations: 63.94 kB / 266 MB, free: 8.047 MB / 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.0001588/0.01584, allocations: 135.1 kB / 266.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01601, allocations: 149.3 kB / 266.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01601, allocations: 0 / 266.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.01608, allocations: 79.69 kB / 266.4 MB, free: 7.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01633, allocations: 43.95 kB / 266.4 MB, free: 7.633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.01707, allocations: 414.5 kB / 266.9 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01711, allocations: 76.33 kB / 266.9 MB, free: 7.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.01723, allocations: 45.88 kB / 267 MB, free: 7.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.01738, allocations: 130.1 kB / 267.1 MB, free: 6.914 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01738, allocations: 0 / 267.1 MB, free: 6.914 MB / 250.7 MB Notification: Performance of Templates: time 0.004491/0.02188, allocations: 3.024 MB / 270.1 MB, free: 3.906 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 -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.6941084298305213]