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.001316/0.001316, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001372/0.001372, allocations: 168.1 kB / 25.69 MB, free: 8.449 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 0.7986/0.7986, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.072e-06/1.072e-06, allocations: 0 / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.135e-05, allocations: 2.312 kB / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003753/0.003764, allocations: 4.551 MB / 256.1 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.005077, allocations: 1.825 MB / 257.9 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.00513, allocations: 3.938 kB / 257.9 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.00533, allocations: 39.7 kB / 257.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.005586, allocations: 127.1 kB / 258 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.006004, allocations: 255.2 kB / 258.3 MB, free: 476 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.006277, allocations: 298.6 kB / 258.6 MB, free: 176 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.006315, allocations: 5.969 kB / 258.6 MB, free: 168 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.006541, allocations: 171.6 kB / 258.8 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.006636, allocations: 63.75 kB / 258.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.006658, allocations: 12 kB / 258.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.00682, allocations: 87.81 kB / 258.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.006872, allocations: 39.89 kB / 259 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.006925, allocations: 63.83 kB / 259 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.007144, allocations: 199.4 kB / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.007146, allocations: 4 kB / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007147, allocations: 0 / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.00715, allocations: 0 / 259.2 MB, free: 15.54 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.0005682/0.007718, allocations: 384.5 kB / 259.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.007749, allocations: 11.98 kB / 259.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.007878, allocations: 48.73 kB / 259.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.008019, allocations: 145.6 kB / 259.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.00803, allocations: 8.656 kB / 259.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.00806, allocations: 20.33 kB / 259.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.008297, allocations: 342.9 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008307, allocations: 192 / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.008324, allocations: 12.12 kB / 260.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.00833, allocations: 4 kB / 260.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.008423, allocations: 74.66 kB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.009058, allocations: 0.7561 MB / 261 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.00933, allocations: 137.2 kB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.009369, allocations: 24.86 kB / 261.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.009643, allocations: 338.3 kB / 261.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.009664, allocations: 38.56 kB / 261.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.009665, allocations: 0 / 261.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001158/0.01082, allocations: 0.6177 MB / 262.2 MB, free: 12.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.01085, allocations: 55.41 kB / 262.2 MB, free: 12.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.01092, allocations: 166.4 kB / 262.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01094, allocations: 29.7 kB / 262.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.01098, allocations: 140.1 kB / 262.5 MB, free: 11.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.01102, allocations: 79.3 kB / 262.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.01108, allocations: 61.62 kB / 262.7 MB, free: 11.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.01116, allocations: 326.8 kB / 263 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.0112, allocations: 42.81 kB / 263 MB, free: 11.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.01129, allocations: 145.4 kB / 263.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.01144, allocations: 215.1 kB / 263.4 MB, free: 11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01144, allocations: 0 / 263.4 MB, free: 11 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001811/0.01163, allocations: 208 kB / 263.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.01164, allocations: 11.94 kB / 263.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01164, allocations: 4 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01165, allocations: 4 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01181, allocations: 80.36 kB / 263.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01182, allocations: 8 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.0119, allocations: 19.92 kB / 263.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01192, allocations: 8 kB / 263.7 MB, free: 10.66 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 7.161e-05/0.01199, allocations: 132.5 kB / 263.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.01202, allocations: 15.98 kB / 263.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.01219, allocations: 142.7 kB / 264 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.0122, allocations: 0 / 264 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.0122, allocations: 0 / 264 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0122, allocations: 8 kB / 264 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.01262, allocations: 422 kB / 264.4 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01262, allocations: 4 kB / 264.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01273, allocations: 55.88 kB / 264.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01274, allocations: 0 / 264.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01275, allocations: 16.06 kB / 264.5 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01275, allocations: 4 kB / 264.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01275, allocations: 0 / 264.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.01323, allocations: 329.7 kB / 264.8 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.01324, allocations: 11.91 kB / 264.8 MB, free: 9.461 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.01326, allocations: 11.94 kB / 264.8 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.01335, allocations: 8 kB / 264.9 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.01336, allocations: 15.97 kB / 264.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01338, allocations: 16.02 kB / 264.9 MB, free: 9.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.0134, allocations: 33.7 kB / 264.9 MB, free: 9.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0134, allocations: 0 / 264.9 MB, free: 9.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000206/0.01361, allocations: 59.94 kB / 265 MB, free: 9.316 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.00013/0.01374, allocations: 116.3 kB / 265.1 MB, free: 9.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.01389, allocations: 137.2 kB / 265.2 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.0139, allocations: 0 / 265.2 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/0.01395, allocations: 70.27 kB / 265.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01414, allocations: 48.02 kB / 265.3 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.01483, allocations: 415 kB / 265.7 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.01488, allocations: 76.33 kB / 265.8 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.015, allocations: 41.94 kB / 265.9 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.01514, allocations: 95.31 kB / 266 MB, free: 8.266 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01514, allocations: 0 / 266 MB, free: 8.266 MB / 250.7 MB Notification: Performance of Templates: time 0.004163/0.0193, allocations: 3.022 MB / 269 MB, free: 5.258 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.42156492639333]