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.001242/0.001243, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 67.88 kB / 358.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2218, allocations: 50.55 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006012/0.2278, allocations: 4.533 MB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2299, allocations: 1.814 MB / 415.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.2299, allocations: 0 / 415.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.2302, allocations: 43.69 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.2306, allocations: 123.2 kB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.2312, allocations: 254.4 kB / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.2315, allocations: 290.9 kB / 415.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.2316, allocations: 21.06 kB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.2319, allocations: 135.5 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.232, allocations: 75.73 kB / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.232, allocations: 8 kB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.2323, allocations: 103.9 kB / 416.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.2324, allocations: 39.83 kB / 416.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2325, allocations: 75.72 kB / 416.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.2328, allocations: 230.3 kB / 416.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2329, allocations: 0 / 416.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.2329, allocations: 4 kB / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2329, allocations: 0 / 416.5 MB, free: 9.723 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.000956/0.2338, allocations: 495 kB / 417 MB, free: 9.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2339, allocations: 12.03 kB / 417 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.234, allocations: 50.73 kB / 417.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.2341, allocations: 16.89 kB / 417.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.2344, allocations: 208.2 kB / 417.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2344, allocations: 12.64 kB / 417.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.2345, allocations: 16.36 kB / 417.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.2349, allocations: 221.4 kB / 417.5 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2349, allocations: 0 / 417.5 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.235, allocations: 8 kB / 417.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.235, allocations: 4 kB / 417.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.2354, allocations: 147.8 kB / 417.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2367, allocations: 0.9557 MB / 418.7 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.2371, allocations: 154.7 kB / 418.8 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2372, allocations: 56.83 kB / 418.9 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.2378, allocations: 0.4993 MB / 419.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2379, allocations: 42.55 kB / 419.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2379, allocations: 0 / 419.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002566/0.2404, allocations: 0.7616 MB / 420.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.2405, allocations: 63.34 kB / 420.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2406, allocations: 158.4 kB / 420.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.2407, allocations: 29.7 kB / 420.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.2408, allocations: 144.2 kB / 420.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.2408, allocations: 75.38 kB / 420.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.241, allocations: 49.7 kB / 420.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2411, allocations: 326.8 kB / 421 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.2414, allocations: 87.94 kB / 421.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.2417, allocations: 189.6 kB / 421.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.2423, allocations: 300.3 kB / 421.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2423, allocations: 7.938 kB / 421.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007448/0.2431, allocations: 313.1 kB / 421.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2431, allocations: 6.812 kB / 421.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2431, allocations: 4.469 kB / 421.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2432, allocations: 8 kB / 421.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.2435, allocations: 87.88 kB / 422 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2436, allocations: 11.88 kB / 422 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2438, allocations: 19.98 kB / 422 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.2438, allocations: 12 kB / 422 MB, free: 3.762 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.0001357/0.244, allocations: 137.7 kB / 422.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.244, allocations: 15.91 kB / 422.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.2447, allocations: 238.6 kB / 422.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2447, allocations: 4 kB / 422.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2447, allocations: 0 / 422.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2447, allocations: 3.984 kB / 422.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.246, allocations: 0.6031 MB / 423 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2461, allocations: 128 / 423 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.2464, allocations: 55.89 kB / 423.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.2464, allocations: 4 kB / 423.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2464, allocations: 8 kB / 423.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2464, allocations: 0 / 423.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2464, allocations: 7.938 kB / 423.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.2473, allocations: 401.8 kB / 423.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/0.2474, allocations: 113.1 kB / 423.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.2475, allocations: 4 kB / 423.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2477, allocations: 19.92 kB / 423.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.2477, allocations: 7.984 kB / 423.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.2478, allocations: 23.91 kB / 423.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.2479, allocations: 108.7 kB / 423.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2479, allocations: 0 / 423.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.2482, allocations: 67.92 kB / 423.8 MB, free: 1.84 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.001268/0.2495, allocations: 0.9649 MB / 424.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.2501, allocations: 215.7 kB / 425 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2502, allocations: 0 / 425 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.2504, allocations: 97.06 kB / 425.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.2508, allocations: 43.77 kB / 425.1 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.2544, allocations: 2.37 MB / 427.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2548, allocations: 0.7168 MB / 428.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.255, allocations: 49.88 kB / 428.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2551, allocations: 51.41 kB / 428.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2551, allocations: 0 / 428.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3426/0.5978, allocations: 4.508 MB / 432.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.495, allocations: 3.938 kB / 432.8 MB, free: 8.648 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.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) Reference file matches