Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009155/0.0009155, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009451/0.0009451, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8887/0.8887, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.321e-05, allocations: 5.266 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00383/0.003844, allocations: 4.618 MB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.005099, allocations: 1.825 MB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.00514, allocations: 0 / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.005316, allocations: 39.7 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.005545, allocations: 131 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.005894, allocations: 255.2 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.006113, allocations: 294.7 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.006144, allocations: 9.953 kB / 280.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.006341, allocations: 183.5 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.006417, allocations: 67.78 kB / 280.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.006435, allocations: 12 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.006567, allocations: 83.94 kB / 280.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.006621, allocations: 51.8 kB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.00667, allocations: 55.91 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.006886, allocations: 211.3 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006888, allocations: 0 / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006889, allocations: 0 / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.006891, allocations: 0 / 281.2 MB, free: 9.23 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.0004414/0.007332, allocations: 396.5 kB / 281.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.007359, allocations: 11.98 kB / 281.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.007467, allocations: 40.78 kB / 281.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.007589, allocations: 137.6 kB / 281.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.007599, allocations: 12.66 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.007625, allocations: 16.38 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.007843, allocations: 355.4 kB / 282.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.007852, allocations: 4.172 kB / 282.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.007868, allocations: 12.12 kB / 282.1 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.007874, allocations: 4 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.00796, allocations: 70.72 kB / 282.2 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.008532, allocations: 0.7482 MB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.008664, allocations: 145.2 kB / 283.1 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.008698, allocations: 24.86 kB / 283.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.008941, allocations: 338.4 kB / 283.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.008959, allocations: 34.5 kB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.00896, allocations: 0 / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001141/0.0101, allocations: 0.6215 MB / 284.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.01012, allocations: 51.41 kB / 284.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.0102, allocations: 162.5 kB / 284.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.01021, allocations: 33.7 kB / 284.3 MB, free: 5.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.01026, allocations: 136.1 kB / 284.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.0103, allocations: 83.3 kB / 284.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.01035, allocations: 57.62 kB / 284.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.01042, allocations: 330.7 kB / 284.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.01047, allocations: 38.81 kB / 285 MB, free: 5.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/0.01055, allocations: 141.5 kB / 285.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.0107, allocations: 224.2 kB / 285.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01071, allocations: 0 / 285.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001818/0.01089, allocations: 207.7 kB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.0109, allocations: 8 kB / 285.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.0109, allocations: 7.984 kB / 285.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01092, allocations: 4 kB / 285.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01108, allocations: 83.83 kB / 285.6 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01108, allocations: 4 kB / 285.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.01116, allocations: 12 kB / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.01118, allocations: 15.98 kB / 285.7 MB, free: 4.348 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 6.902e-05/0.01125, allocations: 140.6 kB / 285.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.01128, allocations: 11.98 kB / 285.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.01145, allocations: 157.6 kB / 286 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01145, allocations: 0 / 286 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01146, allocations: 0 / 286 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01146, allocations: 0 / 286 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.01189, allocations: 430 kB / 286.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01189, allocations: 0 / 286.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.012, allocations: 51.89 kB / 286.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.012, allocations: 0 / 286.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01201, allocations: 8 kB / 286.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01202, allocations: 0 / 286.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01202, allocations: 11.88 kB / 286.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.01224, allocations: 329 kB / 286.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.01227, allocations: 15.94 kB / 286.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.0123, allocations: 8 kB / 286.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.01238, allocations: 11.94 kB / 286.8 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.0124, allocations: 15.97 kB / 286.8 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.01241, allocations: 8 kB / 286.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.519e-05/0.01244, allocations: 34.64 kB / 286.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01244, allocations: 4 kB / 286.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01264, allocations: 56 kB / 286.9 MB, free: 3 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.0001201/0.01276, allocations: 112.2 kB / 287 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.01292, allocations: 149.8 kB / 287.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.01293, allocations: 4 kB / 287.2 MB, free: 2.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.01298, allocations: 64.7 kB / 287.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01317, allocations: 43.88 kB / 287.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.0139, allocations: 420.4 kB / 287.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.01394, allocations: 72.33 kB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.01405, allocations: 37.95 kB / 287.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.01419, allocations: 103.3 kB / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01419, allocations: 0 / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of Templates: time 0.0877/0.1019, allocations: 3 MB / 290.9 MB, free: 22.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5202355957590044]