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.00131/0.00131, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.2 kB / 306.5 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09163, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005988/0.09766, allocations: 4.574 MB / 361.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.09968, allocations: 1.802 MB / 363.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.09978, allocations: 0 / 363.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1001, allocations: 43.81 kB / 363.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1004, allocations: 119.3 kB / 363.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.101, allocations: 230.2 kB / 363.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.1014, allocations: 282.9 kB / 364.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.1015, allocations: 21.06 kB / 364.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.1018, allocations: 127.5 kB / 364.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1019, allocations: 87.66 kB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.102, allocations: 8 kB / 364.4 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.1022, allocations: 95.94 kB / 364.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.1023, allocations: 43.78 kB / 364.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.1024, allocations: 75.7 kB / 364.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1027, allocations: 215.6 kB / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1027, allocations: 0 / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1027, allocations: 0 / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1027, allocations: 0 / 364.8 MB, free: 6.586 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.0009668/0.1037, allocations: 497.8 kB / 365.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1037, allocations: 12.03 kB / 365.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.1038, allocations: 46.75 kB / 365.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.104, allocations: 24.73 kB / 365.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1042, allocations: 204.2 kB / 365.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1042, allocations: 12.59 kB / 365.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.1043, allocations: 16.38 kB / 365.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1047, allocations: 217.4 kB / 365.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1047, allocations: 0 / 365.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.1048, allocations: 8 kB / 365.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1048, allocations: 4 kB / 365.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.1051, allocations: 155.8 kB / 365.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1064, allocations: 0.9478 MB / 366.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.1068, allocations: 158.6 kB / 367 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.107, allocations: 60.83 kB / 367.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005476/0.1075, allocations: 0.4954 MB / 367.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1076, allocations: 38.56 kB / 367.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1076, allocations: 0 / 367.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002552/0.1101, allocations: 0.7663 MB / 368.4 MB, free: 2.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1102, allocations: 51.41 kB / 368.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1103, allocations: 157.4 kB / 368.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1104, allocations: 29.7 kB / 368.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.1104, allocations: 147.7 kB / 368.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.1105, allocations: 67 kB / 368.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.1106, allocations: 65.69 kB / 368.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1107, allocations: 326.8 kB / 369.2 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.111, allocations: 79.69 kB / 369.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.1113, allocations: 193.6 kB / 369.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.1119, allocations: 293.4 kB / 369.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1119, allocations: 4 kB / 369.8 MB, free: 1.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006779/0.1126, allocations: 321.2 kB / 370.1 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1126, allocations: 8 kB / 370.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1126, allocations: 4 kB / 370.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1126, allocations: 4 kB / 370.1 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.113, allocations: 79.89 kB / 370.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.113, allocations: 8 kB / 370.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1133, allocations: 28.11 kB / 370.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.1133, allocations: 19.98 kB / 370.3 MB, free: 0.6289 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.0001256/0.1134, allocations: 141.5 kB / 370.4 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1135, allocations: 19.81 kB / 370.4 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.1141, allocations: 234.6 kB / 370.6 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1142, allocations: 8 kB / 370.6 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1142, allocations: 0 / 370.6 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1142, allocations: 0 / 370.6 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1481/0.2622, allocations: 0.5957 MB / 371.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2623, allocations: 2.062 kB / 371.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.2626, allocations: 53.33 kB / 371.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.2626, allocations: 3.156 kB / 371.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2627, allocations: 8.391 kB / 371.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2627, allocations: 5.484 kB / 371.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2627, allocations: 1.781 kB / 371.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.2635, allocations: 409.6 kB / 371.7 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.2636, allocations: 110.2 kB / 371.8 MB, free: 20.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.2637, allocations: 6.25 kB / 371.8 MB, free: 20.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2639, allocations: 11.34 kB / 371.8 MB, free: 20.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.264, allocations: 13.48 kB / 371.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.264, allocations: 9.672 kB / 371.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.064e-05/0.2641, allocations: 114.4 kB / 372 MB, free: 20.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2641, allocations: 2.438 kB / 372 MB, free: 20.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000407/0.2645, allocations: 65.09 kB / 372 MB, free: 20.29 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.00109/0.2656, allocations: 0.9666 MB / 373 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2662, allocations: 229.5 kB / 373.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2662, allocations: 1.188 kB / 373.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.2665, allocations: 94.08 kB / 373.3 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.2669, allocations: 39.36 kB / 373.4 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.27, allocations: 2.411 MB / 375.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2701, allocations: 0.7175 MB / 376.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.2704, allocations: 46.08 kB / 376.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.2705, allocations: 52.14 kB / 376.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2705, allocations: 0 / 376.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.2863, allocations: 4.378 MB / 381 MB, free: 16.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001212/0.2864, allocations: 192.6 kB / 381.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.089, allocations: 3.938 kB / 381.2 MB, free: 16.44 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