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.0008399/0.0008403, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009593/0.0009594, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001953/0.0001953, allocations: 8.188 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.07966, allocations: 51.52 MB / 359.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00423/0.08392, allocations: 4.204 MB / 363.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.08565, allocations: 1.783 MB / 365.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.08573, allocations: 8 kB / 365.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.08594, allocations: 35.75 kB / 365.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.08624, allocations: 111.4 kB / 365.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.08677, allocations: 234.4 kB / 365.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.08714, allocations: 374.7 kB / 366.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.08719, allocations: 13.08 kB / 366.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.08742, allocations: 127.5 kB / 366.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.08754, allocations: 75.75 kB / 366.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.08757, allocations: 8 kB / 366.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.08779, allocations: 99.86 kB / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.08787, allocations: 43.81 kB / 366.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.08796, allocations: 101.4 kB / 366.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.08824, allocations: 211.6 kB / 366.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.08825, allocations: 0 / 366.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08826, allocations: 0 / 366.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.08827, allocations: 0 / 366.7 MB, free: 5.762 MB / 302.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.0007773/0.08905, allocations: 455.3 kB / 367.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.08909, allocations: 12.03 kB / 367.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.08915, allocations: 46.73 kB / 367.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.08931, allocations: 20.83 kB / 367.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.08951, allocations: 212.1 kB / 367.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.08953, allocations: 12.66 kB / 367.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.08957, allocations: 12.38 kB / 367.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.08995, allocations: 221.3 kB / 367.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.08997, allocations: 3.984 kB / 367.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.09, allocations: 8 kB / 367.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.09002, allocations: 8 kB / 367.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.09035, allocations: 147.8 kB / 367.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.0915, allocations: 0.9478 MB / 368.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.09188, allocations: 154.6 kB / 369 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.09203, allocations: 52.83 kB / 369 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/0.0925, allocations: 0.4955 MB / 369.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.09253, allocations: 34.55 kB / 369.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.09254, allocations: 4 kB / 369.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002308/0.09485, allocations: 0.7669 MB / 370.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.09489, allocations: 55.41 kB / 370.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.09502, allocations: 157.8 kB / 370.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.09505, allocations: 33.69 kB / 370.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.09512, allocations: 139.8 kB / 370.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.09519, allocations: 78.98 kB / 370.8 MB, free: 1.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.09524, allocations: 29.7 kB / 370.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.09534, allocations: 326.8 kB / 371.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.09558, allocations: 79.94 kB / 371.2 MB, free: 0.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.09588, allocations: 193.4 kB / 371.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.09641, allocations: 297.4 kB / 371.7 MB, free: 348 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09642, allocations: 0 / 371.7 MB, free: 348 kB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006409/0.09706, allocations: 320.2 kB / 372 MB, free: 24 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.09709, allocations: 8 kB / 372 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.09711, allocations: 7.938 kB / 372 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.09712, allocations: 4 kB / 372 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1325/0.2297, allocations: 82.58 kB / 372.1 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.2297, allocations: 7.234 kB / 372.1 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.2301, allocations: 21.08 kB / 372.1 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.2302, allocations: 17 kB / 372.1 MB, free: 19.83 MB / 302.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.0001572/0.2303, allocations: 141.8 kB / 372.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.2304, allocations: 14.97 kB / 372.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2315, allocations: 239.5 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2315, allocations: 1.844 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2315, allocations: 4.219 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.2316, allocations: 1.781 kB / 372.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.2332, allocations: 0.6001 MB / 373.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2333, allocations: 1.125 kB / 373.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.2337, allocations: 51.44 kB / 373.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.2337, allocations: 3.719 kB / 373.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.2338, allocations: 9.125 kB / 373.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2338, allocations: 2.375 kB / 373.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2338, allocations: 8.5 kB / 373.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.235, allocations: 403.8 kB / 373.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.2351, allocations: 105.7 kB / 373.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.2352, allocations: 9.953 kB / 373.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.2355, allocations: 15.12 kB / 373.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.2356, allocations: 17.47 kB / 373.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.2356, allocations: 9.188 kB / 373.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.593e-05/0.2357, allocations: 111.1 kB / 373.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2357, allocations: 0 / 373.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.2363, allocations: 67.86 kB / 373.9 MB, free: 19.01 MB / 302.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.001476/0.2378, allocations: 0.9639 MB / 374.9 MB, free: 18.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008173/0.2386, allocations: 218.8 kB / 375.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2387, allocations: 1.156 kB / 375.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.239, allocations: 92.58 kB / 375.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.2397, allocations: 45.06 kB / 375.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.243, allocations: 2.465 MB / 377.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.2432, allocations: 0.7167 MB / 378.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.2436, allocations: 45.5 kB / 378.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2437, allocations: 52.41 kB / 378.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2437, allocations: 0 / 378.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.268, allocations: 4.174 MB / 382.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.2682, allocations: 194.8 kB / 382.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.933, allocations: 0 / 382.9 MB, free: 15.29 MB / 302.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