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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2257, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006031/0.2318, allocations: 4.538 MB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2338, allocations: 1.826 MB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.2339, allocations: 0 / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.2342, allocations: 47.67 kB / 415.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.2345, allocations: 119.2 kB / 415.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.2351, allocations: 246.7 kB / 415.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2355, allocations: 290.9 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.2355, allocations: 21.06 kB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.2358, allocations: 131.5 kB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2359, allocations: 75.75 kB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.2359, allocations: 8 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.2362, allocations: 103.9 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.2362, allocations: 39.83 kB / 416.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.89e-05/0.2363, allocations: 71.72 kB / 416.2 MB, free: 10 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.2366, allocations: 217 kB / 416.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2366, allocations: 4 kB / 416.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2366, allocations: 0 / 416.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2366, allocations: 0 / 416.4 MB, free: 9.785 MB / 334.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.0008818/0.2375, allocations: 491.3 kB / 416.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2376, allocations: 8.031 kB / 416.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.2376, allocations: 54.73 kB / 417 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.2378, allocations: 20.75 kB / 417 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.2381, allocations: 208.1 kB / 417.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2381, allocations: 12.66 kB / 417.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.2382, allocations: 20.36 kB / 417.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.2386, allocations: 217.4 kB / 417.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2386, allocations: 0 / 417.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.2386, allocations: 12 kB / 417.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2386, allocations: 4 kB / 417.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.239, allocations: 143.8 kB / 417.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2402, allocations: 0.9479 MB / 418.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.2406, allocations: 162.7 kB / 418.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2408, allocations: 48.83 kB / 418.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.2413, allocations: 0.5032 MB / 419.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2413, allocations: 34.5 kB / 419.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.2413, allocations: 0 / 419.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002554/0.2439, allocations: 0.776 MB / 420.1 MB, free: 5.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.2439, allocations: 59.34 kB / 420.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.244, allocations: 157.4 kB / 420.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2441, allocations: 29.7 kB / 420.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.2442, allocations: 147.8 kB / 420.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.2442, allocations: 71 kB / 420.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.2443, allocations: 57.61 kB / 420.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.2444, allocations: 322.8 kB / 420.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.2447, allocations: 87.94 kB / 421 MB, free: 4.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.245, allocations: 189.7 kB / 421.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.2456, allocations: 293.4 kB / 421.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2456, allocations: 4 kB / 421.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007033/0.2463, allocations: 313.1 kB / 421.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2463, allocations: 6.812 kB / 421.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2463, allocations: 4 kB / 421.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2464, allocations: 12.41 kB / 421.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.2467, allocations: 83.88 kB / 421.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2468, allocations: 7.938 kB / 421.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.247, allocations: 19.98 kB / 421.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.247, allocations: 12 kB / 421.9 MB, free: 3.844 MB / 334.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.0001129/0.2471, allocations: 145.6 kB / 422 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.2472, allocations: 15.81 kB / 422.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.2479, allocations: 246.6 kB / 422.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2479, allocations: 4 kB / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2479, allocations: 0 / 422.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2479, allocations: 7.922 kB / 422.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.2492, allocations: 0.5876 MB / 422.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2492, allocations: 0 / 422.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.2495, allocations: 56.02 kB / 423 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2495, allocations: 4 kB / 423 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.2495, allocations: 8 kB / 423 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2495, allocations: 0 / 423 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2495, allocations: 3.938 kB / 423 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.2504, allocations: 416.3 kB / 423.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.2505, allocations: 104.9 kB / 423.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.2506, allocations: 12.06 kB / 423.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.2508, allocations: 15.92 kB / 423.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.2508, allocations: 15.92 kB / 423.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.2509, allocations: 11.98 kB / 423.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.167e-05/0.2509, allocations: 107.3 kB / 423.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2509, allocations: 0 / 423.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.2513, allocations: 64 kB / 423.7 MB, free: 1.926 MB / 334.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.001163/0.2525, allocations: 0.9693 MB / 424.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005964/0.2531, allocations: 219.7 kB / 424.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.2531, allocations: 8.875 kB / 424.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.2534, allocations: 92.06 kB / 425 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.2538, allocations: 43.83 kB / 425 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.257, allocations: 2.364 MB / 427.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2573, allocations: 0.7284 MB / 428.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.2575, allocations: 45.92 kB / 428.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2576, allocations: 51.42 kB / 428.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2576, allocations: 0 / 428.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.2792, allocations: 4.579 MB / 432.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.75, allocations: 7.297 kB / 432.8 MB, free: 8.641 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches