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.001489/0.001489, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001772/0.001772, allocations: 213.9 kB / 22.99 MB, free: 5.609 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.466/1.466, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.001851/0.001851, allocations: 59.89 kB / 376.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.245, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00639/0.2514, allocations: 4.585 MB / 434.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.2535, allocations: 1.822 MB / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.2536, allocations: 7.938 kB / 436.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.2538, allocations: 39.73 kB / 436.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.2541, allocations: 127.2 kB / 436.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.2548, allocations: 246.4 kB / 436.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.2551, allocations: 290.9 kB / 436.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.2552, allocations: 9.078 kB / 436.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.2554, allocations: 139.5 kB / 437 MB, free: 248 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2555, allocations: 79.69 kB / 437.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.2556, allocations: 8 kB / 437.1 MB, free: 160 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.2558, allocations: 107.9 kB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2559, allocations: 43.77 kB / 437.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.256, allocations: 75.7 kB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.2564, allocations: 228.5 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2564, allocations: 0 / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2564, allocations: 0 / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2564, allocations: 4 kB / 437.6 MB, free: 15.71 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.0009878/0.2574, allocations: 491 kB / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2574, allocations: 8.031 kB / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2576, allocations: 32.88 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2579, allocations: 204.2 kB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2579, allocations: 12.66 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2579, allocations: 24.25 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.2584, allocations: 221.6 kB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2584, allocations: 0 / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.2584, allocations: 4 kB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2584, allocations: 4 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.2588, allocations: 147.8 kB / 438.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.2602, allocations: 0.9442 MB / 439.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.2606, allocations: 146.7 kB / 439.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2608, allocations: 52.77 kB / 439.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/0.2614, allocations: 0.5071 MB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.2614, allocations: 42.56 kB / 440.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.056e-06/0.2614, allocations: 3.984 kB / 440.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002588/0.264, allocations: 0.7667 MB / 441.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.264, allocations: 55.41 kB / 441.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2642, allocations: 161.6 kB / 441.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.2642, allocations: 33.7 kB / 441.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.2643, allocations: 140.2 kB / 441.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.2644, allocations: 75.38 kB / 441.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2645, allocations: 57.69 kB / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2646, allocations: 326.8 kB / 442 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.2649, allocations: 83.94 kB / 442.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.2652, allocations: 193.6 kB / 442.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.2658, allocations: 300.3 kB / 442.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2658, allocations: 0 / 442.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000692/0.2665, allocations: 317.1 kB / 442.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2665, allocations: 7.984 kB / 442.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2665, allocations: 4 kB / 442.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2665, allocations: 8 kB / 442.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2669, allocations: 84.36 kB / 442.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2669, allocations: 7.984 kB / 443 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.2672, allocations: 15.98 kB / 443 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.2672, allocations: 12 kB / 443 MB, free: 9.824 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.0001339/0.2673, allocations: 141.6 kB / 443.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.2674, allocations: 19.84 kB / 443.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006754/0.2681, allocations: 249.4 kB / 443.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2681, allocations: 0 / 443.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2681, allocations: 4 kB / 443.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2681, allocations: 0 / 443.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.2694, allocations: 0.5954 MB / 444 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2694, allocations: 0 / 444 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.2697, allocations: 60.02 kB / 444 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2697, allocations: 4 kB / 444 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2697, allocations: 4 kB / 444.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2698, allocations: 7.984 kB / 444.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2698, allocations: 3.938 kB / 444.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008553/0.2706, allocations: 407 kB / 444.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.2707, allocations: 105 kB / 444.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.2708, allocations: 8.062 kB / 444.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.271, allocations: 23.92 kB / 444.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.271, allocations: 7.984 kB / 444.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2711, allocations: 11.98 kB / 444.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.2711, allocations: 115.2 kB / 444.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2711, allocations: 0 / 444.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.2715, allocations: 63.94 kB / 444.8 MB, free: 7.895 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.0002115/0.2717, allocations: 135.1 kB / 444.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.2723, allocations: 207.6 kB / 445.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2723, allocations: 0 / 445.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.2726, allocations: 94.48 kB / 445.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.273, allocations: 48.33 kB / 445.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2741, allocations: 479.7 kB / 445.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.2745, allocations: 0.7168 MB / 446.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.2748, allocations: 45.92 kB / 446.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.634e-05/0.2749, allocations: 31.42 kB / 446.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2749, allocations: 0 / 446.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Templates: time 0.0065/0.2814, allocations: 2.816 MB / 449.3 MB, free: 3.289 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.4197688940912485]