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.001746/0.001746, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.84 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2441, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00581/0.2499, allocations: 4.541 MB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2519, allocations: 1.818 MB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.2521, allocations: 0 / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.2523, allocations: 39.73 kB / 415.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.2527, allocations: 119.2 kB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.2533, allocations: 258.9 kB / 415.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.2537, allocations: 286.9 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.2538, allocations: 21.05 kB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.254, allocations: 131.6 kB / 415.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2542, allocations: 75.69 kB / 416 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.2542, allocations: 8 kB / 416 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.2545, allocations: 107.8 kB / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2546, allocations: 39.81 kB / 416.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2547, allocations: 75.72 kB / 416.2 MB, free: 10 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.255, allocations: 209.1 kB / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.255, allocations: 0 / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.255, allocations: 0 / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.255, allocations: 0 / 416.4 MB, free: 9.801 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.0009672/0.256, allocations: 495.3 kB / 416.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2561, allocations: 8.031 kB / 416.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.2561, allocations: 50.73 kB / 417 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.2563, allocations: 20.75 kB / 417 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.2566, allocations: 216 kB / 417.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2566, allocations: 12.66 kB / 417.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.2567, allocations: 12.38 kB / 417.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2571, allocations: 217.4 kB / 417.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2571, allocations: 0 / 417.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.2571, allocations: 16 kB / 417.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2571, allocations: 4 kB / 417.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.2575, allocations: 147.8 kB / 417.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2587, allocations: 0.9478 MB / 418.6 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2591, allocations: 154.8 kB / 418.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2593, allocations: 52.83 kB / 418.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/0.2598, allocations: 0.5071 MB / 419.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2598, allocations: 34.5 kB / 419.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2598, allocations: 0 / 419.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.00248/0.2623, allocations: 0.7726 MB / 420.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2624, allocations: 59.41 kB / 420.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2625, allocations: 153.6 kB / 420.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.2625, allocations: 29.7 kB / 420.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.2626, allocations: 147.8 kB / 420.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.2627, allocations: 71 kB / 420.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.2628, allocations: 61.59 kB / 420.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.2629, allocations: 322.8 kB / 420.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.2632, allocations: 83.94 kB / 421 MB, free: 4.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.2635, allocations: 193.6 kB / 421.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.264, allocations: 296.6 kB / 421.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.264, allocations: 4 kB / 421.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006784/0.2647, allocations: 317.2 kB / 421.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2647, allocations: 4 kB / 421.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2647, allocations: 4 kB / 421.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2648, allocations: 8 kB / 421.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.2652, allocations: 79.83 kB / 421.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2652, allocations: 11.92 kB / 421.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.2654, allocations: 20.27 kB / 421.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2655, allocations: 16 kB / 421.9 MB, free: 3.848 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.0001381/0.2656, allocations: 149.5 kB / 422.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.2657, allocations: 15.81 kB / 422.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.2663, allocations: 238.7 kB / 422.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2663, allocations: 4 kB / 422.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2663, allocations: 0 / 422.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2663, allocations: 0 / 422.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.2676, allocations: 0.5954 MB / 422.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2676, allocations: 0 / 422.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.2679, allocations: 43.97 kB / 423 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.268, allocations: 7.984 kB / 423 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.268, allocations: 8.125 kB / 423 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.268, allocations: 4 kB / 423 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.268, allocations: 7.875 kB / 423 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.2688, allocations: 405.8 kB / 423.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.2689, allocations: 104.9 kB / 423.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.2689, allocations: 4 kB / 423.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2692, allocations: 19.92 kB / 423.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2692, allocations: 19.98 kB / 423.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.2693, allocations: 15.94 kB / 423.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.55e-05/0.2693, allocations: 111.2 kB / 423.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2693, allocations: 0 / 423.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000381/0.2697, allocations: 64 kB / 423.7 MB, free: 1.93 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.001199/0.2709, allocations: 0.9725 MB / 424.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.2715, allocations: 216.1 kB / 424.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2715, allocations: 4 kB / 424.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.2718, allocations: 96.56 kB / 425 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2721, allocations: 47.44 kB / 425 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.2754, allocations: 2.368 MB / 427.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2756, allocations: 0.7207 MB / 428.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.2759, allocations: 49.86 kB / 428.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.276, allocations: 51.42 kB / 428.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.276, allocations: 0 / 428.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.2984, allocations: 4.582 MB / 432.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.672, allocations: 4 kB / 432.8 MB, free: 8.645 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