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.0009412/0.0009412, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009386/0.0009386, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.9005/0.9005, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.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.213e-06/1.213e-06, allocations: 0 / 272.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.518e-05, allocations: 2.312 kB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004341/0.004366, allocations: 4.635 MB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.005799, allocations: 1.81 MB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.005859, allocations: 0 / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.006123, allocations: 51.61 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.006423, allocations: 131.1 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.00692, allocations: 239.3 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.007203, allocations: 306.6 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.007242, allocations: 5.312 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.007507, allocations: 175.5 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.0076, allocations: 75.78 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.007623, allocations: 8 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.007816, allocations: 87.88 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.007883, allocations: 43.88 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.007943, allocations: 51.91 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.008229, allocations: 219.3 kB / 280.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.008232, allocations: 0 / 280.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008233, allocations: 0 / 280.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.008238, allocations: 0 / 280.8 MB, free: 9.746 MB / 266.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.0006503/0.008888, allocations: 0.5041 MB / 281.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.008927, allocations: 8.031 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.009095, allocations: 40.72 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.009292, allocations: 156.4 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.009306, allocations: 12.66 kB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.009344, allocations: 16.38 kB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.009671, allocations: 373.8 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.009682, allocations: 4.188 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.009706, allocations: 12.12 kB / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.009714, allocations: 4 kB / 281.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.009859, allocations: 103.8 kB / 282 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.01077, allocations: 1.103 MB / 283.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.01097, allocations: 119.3 kB / 283.2 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.01103, allocations: 43.19 kB / 283.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/0.01138, allocations: 412 kB / 283.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.01141, allocations: 37.38 kB / 283.7 MB, free: 6.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.01141, allocations: 0 / 283.7 MB, free: 6.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001146/0.01255, allocations: 0.563 MB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.01258, allocations: 59.41 kB / 284.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.0127, allocations: 229.7 kB / 284.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.01272, allocations: 29.7 kB / 284.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.01279, allocations: 186.9 kB / 284.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.01283, allocations: 79.36 kB / 284.8 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.0129, allocations: 67.3 kB / 284.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01302, allocations: 0.4962 MB / 285.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.0131, allocations: 47.97 kB / 285.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.01324, allocations: 206.7 kB / 285.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01348, allocations: 286.1 kB / 285.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01348, allocations: 7.938 kB / 285.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003089/0.01379, allocations: 269.3 kB / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.01381, allocations: 8 kB / 286.2 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01381, allocations: 4 kB / 286.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.01383, allocations: 7.938 kB / 286.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01403, allocations: 75.89 kB / 286.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01404, allocations: 4 kB / 286.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.01413, allocations: 15.98 kB / 286.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.01416, allocations: 20.28 kB / 286.3 MB, free: 3.727 MB / 266.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.407e-05/0.01425, allocations: 176.4 kB / 286.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.01429, allocations: 19.95 kB / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.01457, allocations: 182.7 kB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01457, allocations: 11.92 kB / 286.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01458, allocations: 0 / 286.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01458, allocations: 0 / 286.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.01517, allocations: 0.5274 MB / 287.2 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01518, allocations: 4 kB / 287.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.01531, allocations: 47.91 kB / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01531, allocations: 0 / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01533, allocations: 8 kB / 287.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.01533, allocations: 7.984 kB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/0.01533, allocations: 0 / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.01568, allocations: 395 kB / 287.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.01573, allocations: 31.88 kB / 287.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.01575, allocations: 0 / 287.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01585, allocations: 12 kB / 287.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.01587, allocations: 11.97 kB / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.01589, allocations: 12 kB / 287.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.01594, allocations: 151.1 kB / 287.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01594, allocations: 0 / 287.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.01621, allocations: 67.97 kB / 287.9 MB, free: 1.969 MB / 266.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.0001926/0.0164, allocations: 135 kB / 288.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.01665, allocations: 172 kB / 288.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01665, allocations: 0 / 288.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.01673, allocations: 86.61 kB / 288.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01701, allocations: 40.59 kB / 288.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.01795, allocations: 431 kB / 288.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.018, allocations: 76.25 kB / 288.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.01813, allocations: 45.92 kB / 288.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.0182, allocations: 36.48 kB / 288.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01821, allocations: 0 / 288.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of Templates: time 0.004388/0.02259, allocations: 2.728 MB / 291.7 MB, free: 14.2 MB / 282.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 -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.660545516759157]