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.001843/0.001843, 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.002368/0.002368, allocations: 212.4 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.789 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: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.88 kB / 377.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2594, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006734/0.2662, allocations: 4.274 MB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2685, allocations: 1.619 MB / 437 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2686, allocations: 7.938 kB / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.2689, allocations: 31.77 kB / 437 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.2693, allocations: 131.2 kB / 437.2 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.27, allocations: 254.5 kB / 437.4 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.2705, allocations: 298.8 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.242e-05/0.2705, allocations: 17.27 kB / 437.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.2709, allocations: 127.6 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.271, allocations: 83.59 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.2711, allocations: 12 kB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.2713, allocations: 91.88 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.2714, allocations: 43.88 kB / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.2715, allocations: 63.8 kB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.2719, allocations: 224.9 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2719, allocations: 0 / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2719, allocations: 0 / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2719, allocations: 0 / 438.4 MB, free: 15.19 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.001021/0.2729, allocations: 417.8 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.273, allocations: 15.98 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.2731, allocations: 54.73 kB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.2733, allocations: 16.89 kB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.2736, allocations: 150.3 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2736, allocations: 12.59 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.2736, allocations: 16.38 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2742, allocations: 383.8 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2742, allocations: 0 / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2742, allocations: 8 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.2743, allocations: 4 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.2747, allocations: 151.8 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2761, allocations: 0.8752 MB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.2766, allocations: 146.8 kB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2767, allocations: 56.83 kB / 440.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/0.2772, allocations: 324.2 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.2773, allocations: 34.56 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.2773, allocations: 0 / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002715/0.28, allocations: 0.6978 MB / 441.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.2801, allocations: 63.34 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.2802, allocations: 161.4 kB / 441.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.2802, allocations: 29.7 kB / 441.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2804, allocations: 152 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.2804, allocations: 67.42 kB / 442.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2805, allocations: 61.66 kB / 442.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2807, allocations: 326.8 kB / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.281, allocations: 79.94 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.2813, allocations: 205.9 kB / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.282, allocations: 296.8 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.282, allocations: 4 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007994/0.2828, allocations: 321.4 kB / 443.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2828, allocations: 12.06 kB / 443.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2828, allocations: 4 kB / 443.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2829, allocations: 4 kB / 443.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.2833, allocations: 83.88 kB / 443.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.2833, allocations: 11.94 kB / 443.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.2835, allocations: 15.98 kB / 443.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.2836, allocations: 12 kB / 443.6 MB, free: 9.59 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.0001589/0.2837, allocations: 141.7 kB / 443.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.2838, allocations: 15.91 kB / 443.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.2845, allocations: 238.6 kB / 443.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.2845, allocations: 0 / 443.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2845, allocations: 4 kB / 444 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2845, allocations: 3.984 kB / 444 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2859, allocations: 0.5554 MB / 444.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.286, allocations: 0 / 444.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.2863, allocations: 64.02 kB / 444.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2863, allocations: 3.984 kB / 444.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.2863, allocations: 7.984 kB / 444.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2863, allocations: 4 kB / 444.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2863, allocations: 7.875 kB / 444.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.2873, allocations: 405.9 kB / 445 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.2873, allocations: 27.91 kB / 445 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.2874, allocations: 8 kB / 445 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.2876, allocations: 19.92 kB / 445 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.2877, allocations: 15.91 kB / 445.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.2877, allocations: 8 kB / 445.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2878, allocations: 112.1 kB / 445.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2878, allocations: 0 / 445.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.2882, allocations: 68 kB / 445.2 MB, free: 7.801 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.001397/0.2896, allocations: 0.9688 MB / 446.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006572/0.2903, allocations: 204.6 kB / 446.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2903, allocations: 4.062 kB / 446.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.2905, allocations: 87.81 kB / 446.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.291, allocations: 43.83 kB / 446.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.2949, allocations: 2.375 MB / 448.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.295, allocations: 103.3 kB / 449 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.2953, allocations: 49.88 kB / 449.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.2954, allocations: 47.41 kB / 449.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2954, allocations: 0 / 449.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04142/0.3368, allocations: 5.189 MB / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.39, allocations: 11.62 kB / 454.3 MB, free: 14.61 MB / 366.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/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: 14.029870857018977]