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.00119/0.00119, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 64.03 kB / 306.3 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07596/0.07707, allocations: 50.52 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005189/0.08229, allocations: 4.581 MB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.08391, allocations: 1.822 MB / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.08397, allocations: 0 / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.0842, allocations: 31.81 kB / 363.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.08446, allocations: 119.3 kB / 363.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.08496, allocations: 230.4 kB / 363.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.08529, allocations: 374.8 kB / 364 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.08534, allocations: 13.08 kB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.08555, allocations: 123.6 kB / 364.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.08566, allocations: 87.59 kB / 364.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.08569, allocations: 8 kB / 364.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.08593, allocations: 103.9 kB / 364.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.08601, allocations: 31.89 kB / 364.4 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.0861, allocations: 75.66 kB / 364.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.08637, allocations: 207.7 kB / 364.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08639, allocations: 0 / 364.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.08639, allocations: 0 / 364.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.0864, allocations: 3.938 kB / 364.6 MB, free: 6.617 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.0008491/0.08726, allocations: 493.5 kB / 365.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.0873, allocations: 12.03 kB / 365.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.08735, allocations: 50.67 kB / 365.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.08753, allocations: 24.73 kB / 365.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.08772, allocations: 208.2 kB / 365.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.08774, allocations: 8.656 kB / 365.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.08778, allocations: 16.38 kB / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.08816, allocations: 213.4 kB / 365.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.08819, allocations: 3.938 kB / 365.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.08822, allocations: 16 kB / 365.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.08823, allocations: 4 kB / 365.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.08857, allocations: 143.8 kB / 365.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.08971, allocations: 0.9517 MB / 366.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.0901, allocations: 162.6 kB / 366.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.09025, allocations: 52.83 kB / 367 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/0.09072, allocations: 0.5032 MB / 367.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.09075, allocations: 38.56 kB / 367.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.09076, allocations: 0 / 367.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002455/0.09322, allocations: 0.7704 MB / 368.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.09326, allocations: 51.41 kB / 368.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.09338, allocations: 161.8 kB / 368.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.09341, allocations: 25.7 kB / 368.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.09349, allocations: 147.8 kB / 368.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.09355, allocations: 71 kB / 368.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.09364, allocations: 65.62 kB / 368.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.09373, allocations: 322.8 kB / 369.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.09398, allocations: 83.69 kB / 369.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.09427, allocations: 193.7 kB / 369.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.0948, allocations: 301.4 kB / 369.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09481, allocations: 0 / 369.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006518/0.09547, allocations: 317.2 kB / 370 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.09549, allocations: 8 kB / 370 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.0955, allocations: 4 kB / 370 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.09552, allocations: 4 kB / 370 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.09588, allocations: 76.2 kB / 370.1 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.0959, allocations: 15.94 kB / 370.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.09614, allocations: 15.98 kB / 370.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.09617, allocations: 19.98 kB / 370.1 MB, free: 0.6562 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.0001078/0.09629, allocations: 141.6 kB / 370.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.09634, allocations: 15.81 kB / 370.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.09698, allocations: 249.6 kB / 370.5 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.09699, allocations: 4 kB / 370.5 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.097, allocations: 0 / 370.5 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.09701, allocations: 0 / 370.5 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1201/0.2171, allocations: 0.5962 MB / 371.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2171, allocations: 0.5 kB / 371.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.2174, allocations: 50.75 kB / 371.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2175, allocations: 2.188 kB / 371.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2175, allocations: 8.625 kB / 371.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2175, allocations: 6.406 kB / 371.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2175, allocations: 2.516 kB / 371.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.2183, allocations: 407.1 kB / 371.6 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.2184, allocations: 108 kB / 371.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.2184, allocations: 5.984 kB / 371.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.2187, allocations: 13.72 kB / 371.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2187, allocations: 15.92 kB / 371.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2188, allocations: 16.36 kB / 371.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.2188, allocations: 106.6 kB / 371.9 MB, free: 20.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2188, allocations: 0 / 371.9 MB, free: 20.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.2192, allocations: 68.86 kB / 371.9 MB, free: 20.31 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.001024/0.2203, allocations: 0.9555 MB / 372.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.2208, allocations: 219.9 kB / 373.1 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2209, allocations: 1.094 kB / 373.1 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.2211, allocations: 96.06 kB / 373.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2215, allocations: 43.22 kB / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.2244, allocations: 2.412 MB / 375.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2245, allocations: 0.7131 MB / 376.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000265/0.2248, allocations: 47.88 kB / 376.4 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2249, allocations: 47.69 kB / 376.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2249, allocations: 0 / 376.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.2388, allocations: 4.257 MB / 380.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000117/0.239, allocations: 192.9 kB / 380.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.916, allocations: 0 / 380.9 MB, free: 16.47 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