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.0009567/0.0009567, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00113/0.00113, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 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.9215/0.9215, allocations: 177.1 MB / 205.3 MB, free: 5.086 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.563e-06/1.563e-06, allocations: 0 / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.689e-05, allocations: 2.312 kB / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004707/0.004734, allocations: 4.665 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.006286, allocations: 1.821 MB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.006351, allocations: 3.938 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.006561, allocations: 39.64 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.006832, allocations: 131.1 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.007275, allocations: 251.2 kB / 280.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.007541, allocations: 294.8 kB / 280.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.007577, allocations: 17.89 kB / 280.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.007808, allocations: 171.5 kB / 280.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.007891, allocations: 71.78 kB / 280.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.007913, allocations: 8 kB / 280.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.008088, allocations: 87.94 kB / 281 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.008141, allocations: 39.83 kB / 281 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.008193, allocations: 63.89 kB / 281.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.00842, allocations: 211.3 kB / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.008423, allocations: 0 / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.008424, allocations: 0 / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.008427, allocations: 3.938 kB / 281.3 MB, free: 9.27 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.0005245/0.008952, allocations: 392.5 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.008981, allocations: 12.02 kB / 281.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.009112, allocations: 40.78 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.009257, allocations: 141.6 kB / 281.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.009267, allocations: 12.66 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.009295, allocations: 20.38 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.009534, allocations: 335.8 kB / 282.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.009545, allocations: 8.109 kB / 282.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.009562, allocations: 16.12 kB / 282.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.009568, allocations: 4 kB / 282.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.009661, allocations: 78.7 kB / 282.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.01053, allocations: 0.7444 MB / 283.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.01068, allocations: 137.2 kB / 283.2 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.01071, allocations: 36.77 kB / 283.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.01098, allocations: 338.3 kB / 283.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.011, allocations: 34.56 kB / 283.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.01101, allocations: 4 kB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001169/0.01217, allocations: 0.6122 MB / 284.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.0122, allocations: 51.41 kB / 284.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.01227, allocations: 161.8 kB / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01229, allocations: 29.7 kB / 284.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.01234, allocations: 148.1 kB / 284.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.01237, allocations: 71.38 kB / 284.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.01243, allocations: 61.62 kB / 284.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.0125, allocations: 334.7 kB / 285.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.01255, allocations: 38.81 kB / 285.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.01263, allocations: 150 kB / 285.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.0128, allocations: 218.3 kB / 285.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.0128, allocations: 0 / 285.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001944/0.01299, allocations: 208 kB / 285.7 MB, free: 4.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01301, allocations: 8 kB / 285.7 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01302, allocations: 8 kB / 285.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01303, allocations: 4.469 kB / 285.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.01322, allocations: 87.89 kB / 285.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01322, allocations: 11.92 kB / 285.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.01331, allocations: 12 kB / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.01332, allocations: 8 kB / 285.8 MB, free: 4.383 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 7.557e-05/0.0134, allocations: 140.5 kB / 286 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.01343, allocations: 11.98 kB / 286 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.01361, allocations: 149.4 kB / 286.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01361, allocations: 4 kB / 286.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01361, allocations: 4 kB / 286.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01362, allocations: 3.984 kB / 286.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.01405, allocations: 425.7 kB / 286.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01405, allocations: 3.938 kB / 286.5 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.01418, allocations: 60.08 kB / 286.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01419, allocations: 0 / 286.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.0142, allocations: 4 kB / 286.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.0142, allocations: 0 / 286.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.0142, allocations: 11.88 kB / 286.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.01443, allocations: 322 kB / 286.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.01446, allocations: 15.94 kB / 286.9 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01448, allocations: 8 kB / 287 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.01458, allocations: 11.97 kB / 287 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.01459, allocations: 19.91 kB / 287 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.01461, allocations: 8 kB / 287 MB, free: 3.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.01463, allocations: 28.81 kB / 287 MB, free: 3.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 4 kB / 287 MB, free: 3.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01485, allocations: 56 kB / 287.1 MB, free: 3.035 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.0001275/0.01498, allocations: 108.3 kB / 287.2 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.01514, allocations: 153.1 kB / 287.3 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.01515, allocations: 4 kB / 287.3 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.0152, allocations: 53.97 kB / 287.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.0154, allocations: 51.89 kB / 287.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.01613, allocations: 419.8 kB / 287.9 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01618, allocations: 80.33 kB / 287.9 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.0163, allocations: 45.88 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.01645, allocations: 99.3 kB / 288.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01645, allocations: 0 / 288.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of Templates: time 0.08896/0.1054, allocations: 3.014 MB / 291.1 MB, free: 22.7 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 -s gbode -gbm=radauIIA3 -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.4542853217571974]