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.00137/0.00137, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001153/0.001153, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.9779/0.9779, allocations: 177 MB / 205.2 MB, free: 5.594 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.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.897e-05, allocations: 2.312 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004302/0.004321, allocations: 4.638 MB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.005632, allocations: 1.802 MB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.005689, allocations: 4 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.00591, allocations: 43.61 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.006174, allocations: 131.1 kB / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.006567, allocations: 247.3 kB / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.006819, allocations: 302.6 kB / 280.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.006856, allocations: 9.297 kB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.007084, allocations: 179.5 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.007168, allocations: 67.8 kB / 280.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.007189, allocations: 8 kB / 280.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.007336, allocations: 99.86 kB / 280.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.007396, allocations: 31.89 kB / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.007456, allocations: 63.84 kB / 280.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.007703, allocations: 207.3 kB / 280.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007705, allocations: 0 / 280.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007705, allocations: 0 / 280.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.00771, allocations: 4 kB / 280.8 MB, free: 9.941 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.0005737/0.008283, allocations: 0.504 MB / 281.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.008319, allocations: 11.98 kB / 281.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.008469, allocations: 48.7 kB / 281.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.008631, allocations: 156.4 kB / 281.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.008642, allocations: 8.656 kB / 281.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.008671, allocations: 16.38 kB / 281.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.008958, allocations: 369.6 kB / 281.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.008968, allocations: 4.188 kB / 281.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.00899, allocations: 16.11 kB / 281.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.008999, allocations: 11.98 kB / 281.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.00913, allocations: 95.8 kB / 282 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.009928, allocations: 1.095 MB / 283.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.0101, allocations: 115.3 kB / 283.2 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.01014, allocations: 35.67 kB / 283.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.01045, allocations: 419.9 kB / 283.6 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.01047, allocations: 41.39 kB / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01047, allocations: 0 / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001215/0.01169, allocations: 0.5569 MB / 284.2 MB, free: 6.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.01171, allocations: 51.41 kB / 284.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.01182, allocations: 225.6 kB / 284.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.01184, allocations: 33.7 kB / 284.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.01191, allocations: 190.8 kB / 284.7 MB, free: 5.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.01195, allocations: 79.31 kB / 284.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01202, allocations: 71.3 kB / 284.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01212, allocations: 0.4923 MB / 285.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.0122, allocations: 51.97 kB / 285.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.01233, allocations: 206.6 kB / 285.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.01255, allocations: 278.8 kB / 285.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01255, allocations: 0 / 285.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002957/0.01285, allocations: 272.9 kB / 286.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01286, allocations: 8 kB / 286.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01287, allocations: 4 kB / 286.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01288, allocations: 7.938 kB / 286.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01306, allocations: 79.89 kB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.01307, allocations: 8 kB / 286.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.01315, allocations: 15.92 kB / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.01317, allocations: 12 kB / 286.3 MB, free: 3.93 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 8.108e-05/0.01325, allocations: 180.5 kB / 286.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.01329, allocations: 19.95 kB / 286.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.01354, allocations: 189.4 kB / 286.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01355, allocations: 7.938 kB / 286.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01355, allocations: 0 / 286.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01355, allocations: 0 / 286.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.01411, allocations: 0.5351 MB / 287.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01411, allocations: 0 / 287.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.01423, allocations: 47.97 kB / 287.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01424, allocations: 4 kB / 287.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.01425, allocations: 7.984 kB / 287.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01426, allocations: 4 kB / 287.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01426, allocations: 3.938 kB / 287.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.01458, allocations: 391 kB / 287.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.01462, allocations: 27.88 kB / 287.7 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.01465, allocations: 8 kB / 287.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.01474, allocations: 4 kB / 287.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.01476, allocations: 27.84 kB / 287.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01478, allocations: 7.984 kB / 287.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.01483, allocations: 153.3 kB / 287.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01483, allocations: 0 / 287.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01507, allocations: 67.92 kB / 288 MB, free: 2.156 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.000141/0.01521, allocations: 131.2 kB / 288.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.01544, allocations: 168.2 kB / 288.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01544, allocations: 4.062 kB / 288.3 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.01552, allocations: 82.81 kB / 288.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01578, allocations: 42.77 kB / 288.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.01668, allocations: 430.8 kB / 288.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.01672, allocations: 72.34 kB / 288.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.01685, allocations: 49.86 kB / 288.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.01691, allocations: 28.48 kB / 288.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01691, allocations: 0 / 288.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of Templates: time 0.004461/0.02137, allocations: 2.72 MB / 291.7 MB, free: 14.41 MB / 282.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.818792544072494]