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.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001822/0.001822, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00192/0.00192, allocations: 63.91 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2354, allocations: 53.41 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.0063/0.2417, allocations: 4.274 MB / 435.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2438, allocations: 1.611 MB / 437.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.2439, allocations: 7.938 kB / 437.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.2441, allocations: 35.75 kB / 437.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.2445, allocations: 127.2 kB / 437.7 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.2452, allocations: 254.4 kB / 437.9 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.2456, allocations: 302.8 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.2456, allocations: 9.266 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.2459, allocations: 131.6 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.246, allocations: 83.61 kB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.246, allocations: 8 kB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.2463, allocations: 95.88 kB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.2464, allocations: 39.89 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.2465, allocations: 67.72 kB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.2468, allocations: 225.5 kB / 438.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2468, allocations: 0 / 438.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2468, allocations: 0 / 438.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2468, allocations: 0 / 438.9 MB, free: 15.26 MB / 350.1 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.0009807/0.2478, allocations: 425.8 kB / 439.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2478, allocations: 11.98 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.248, allocations: 24.88 kB / 439.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.2483, allocations: 146.3 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2484, allocations: 12.66 kB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2484, allocations: 12.38 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.2489, allocations: 380 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.249, allocations: 4 kB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.249, allocations: 12 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.249, allocations: 4 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.2494, allocations: 151.8 kB / 440 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.2507, allocations: 0.8524 MB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.2512, allocations: 142.8 kB / 441 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2513, allocations: 51.78 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/0.2518, allocations: 332 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2518, allocations: 34.56 kB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.2518, allocations: 0 / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002594/0.2544, allocations: 0.702 MB / 442.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2545, allocations: 55.41 kB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2546, allocations: 165.4 kB / 442.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.2547, allocations: 25.7 kB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2548, allocations: 152 kB / 442.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.2549, allocations: 75.41 kB / 442.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.255, allocations: 61.66 kB / 442.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2551, allocations: 322.8 kB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.2554, allocations: 87.88 kB / 443 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.2558, allocations: 194 kB / 443.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.2564, allocations: 292.9 kB / 443.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2564, allocations: 4 kB / 443.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007628/0.2571, allocations: 329.3 kB / 443.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2572, allocations: 4 kB / 443.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2572, allocations: 4 kB / 443.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.2572, allocations: 8 kB / 443.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2576, allocations: 83.88 kB / 443.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.2576, allocations: 7.938 kB / 443.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.2578, allocations: 15.98 kB / 444 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2578, allocations: 16.09 kB / 444 MB, free: 9.762 MB / 350.1 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 0.0001371/0.258, allocations: 142.6 kB / 444.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.258, allocations: 19.84 kB / 444.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/0.2588, allocations: 230.6 kB / 444.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2588, allocations: 4 kB / 444.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2588, allocations: 0 / 444.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2588, allocations: 7.984 kB / 444.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2601, allocations: 0.5248 MB / 444.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2601, allocations: 0 / 444.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.2604, allocations: 48.09 kB / 444.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.2604, allocations: 7.984 kB / 445 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2604, allocations: 8 kB / 445 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2604, allocations: 0 / 445 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2604, allocations: 7.938 kB / 445 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.2613, allocations: 417.8 kB / 445.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.2614, allocations: 23.89 kB / 445.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.2614, allocations: 11.92 kB / 445.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.2617, allocations: 11.98 kB / 445.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2617, allocations: 23.86 kB / 445.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2618, allocations: 11.98 kB / 445.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.2619, allocations: 108.1 kB / 445.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2619, allocations: 4.062 kB / 445.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.2622, allocations: 67.92 kB / 445.6 MB, free: 8.016 MB / 350.1 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.0002128/0.2625, allocations: 123.2 kB / 445.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.2631, allocations: 215 kB / 446 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2631, allocations: 0 / 446 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.2634, allocations: 89 kB / 446 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2638, allocations: 47.81 kB / 446.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2649, allocations: 481.4 kB / 446.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.265, allocations: 103.3 kB / 446.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.2652, allocations: 53.86 kB / 446.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.2653, allocations: 23.42 kB / 446.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2653, allocations: 0 / 446.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of Templates: time 0.006919/0.2722, allocations: 2.879 MB / 449.6 MB, free: 3.996 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.459140406921506]