Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001098, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 52.14 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.0864, allocations: 46.63 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005288/0.09173, allocations: 4.509 MB / 331.4 MB, free: 168 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.09351, allocations: 1.802 MB / 333.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.09359, allocations: 4 kB / 333.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.09389, allocations: 35.8 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.09421, allocations: 115.3 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.09479, allocations: 235.4 kB / 333.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.09512, allocations: 286.9 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.09517, allocations: 20.88 kB / 333.9 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.0954, allocations: 127.5 kB / 334 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.09551, allocations: 87.61 kB / 334.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.09554, allocations: 12 kB / 334.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.09575, allocations: 99.88 kB / 334.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.09583, allocations: 35.89 kB / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.09591, allocations: 75.7 kB / 334.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.09619, allocations: 211.7 kB / 334.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.0962, allocations: 0 / 334.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.09622, allocations: 7.984 kB / 334.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.09623, allocations: 0 / 334.5 MB, free: 13.03 MB / 286.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.0009072/0.09714, allocations: 491.2 kB / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.09719, allocations: 8.031 kB / 335 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.09725, allocations: 54.73 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.09742, allocations: 16.84 kB / 335.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.09762, allocations: 208.1 kB / 335.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.09764, allocations: 12.66 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.09768, allocations: 12.38 kB / 335.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.09808, allocations: 220.6 kB / 335.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.0981, allocations: 0 / 335.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.09813, allocations: 12 kB / 335.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.09814, allocations: 0 / 335.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.09848, allocations: 155.8 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.09965, allocations: 0.9324 MB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.1, allocations: 154.7 kB / 336.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1002, allocations: 60.77 kB / 336.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.1006, allocations: 0.5032 MB / 337.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1007, allocations: 30.56 kB / 337.3 MB, free: 9.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1007, allocations: 3.938 kB / 337.3 MB, free: 9.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002491/0.1032, allocations: 0.7748 MB / 338.1 MB, free: 9.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.1032, allocations: 51.41 kB / 338.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1034, allocations: 150.4 kB / 338.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1034, allocations: 29.7 kB / 338.3 MB, free: 8.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.1035, allocations: 143.8 kB / 338.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.1035, allocations: 78.98 kB / 338.6 MB, free: 8.602 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.1036, allocations: 65.59 kB / 338.6 MB, free: 8.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.1037, allocations: 322.8 kB / 338.9 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.104, allocations: 79.94 kB / 339 MB, free: 8.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1043, allocations: 197.1 kB / 339.2 MB, free: 7.887 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.1048, allocations: 302.1 kB / 339.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1048, allocations: 3.938 kB / 339.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000638/0.1054, allocations: 317.2 kB / 339.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1055, allocations: 8 kB / 339.8 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1055, allocations: 4 kB / 339.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1055, allocations: 4 kB / 339.8 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.1059, allocations: 79.89 kB / 339.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1059, allocations: 8 kB / 339.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1061, allocations: 20.27 kB / 339.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.1062, allocations: 19.98 kB / 340 MB, free: 7.082 MB / 286.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.0001117/0.1063, allocations: 145.5 kB / 340.1 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1063, allocations: 15.81 kB / 340.1 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.1069, allocations: 238.8 kB / 340.4 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.107, allocations: 4 kB / 340.4 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.107, allocations: 0 / 340.4 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.107, allocations: 0 / 340.4 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1082, allocations: 0.5952 MB / 341 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1082, allocations: 4 kB / 341 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.1085, allocations: 55.89 kB / 341 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1085, allocations: 128 / 341 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1085, allocations: 19.92 kB / 341 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1085, allocations: 0 / 341 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1085, allocations: 4 kB / 341 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1093, allocations: 398.6 kB / 341.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1094, allocations: 92.91 kB / 341.5 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.1095, allocations: 11.94 kB / 341.5 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.1097, allocations: 16.05 kB / 341.5 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.1098, allocations: 11.98 kB / 341.6 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1098, allocations: 15.94 kB / 341.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.565e-05/0.1099, allocations: 107.2 kB / 341.7 MB, free: 5.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.667e-06/0.1099, allocations: 0 / 341.7 MB, free: 5.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.1102, allocations: 67.94 kB / 341.7 MB, free: 5.176 MB / 286.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.001203/0.1114, allocations: 0.97 MB / 342.7 MB, free: 4.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.112, allocations: 219.8 kB / 342.9 MB, free: 3.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.112, allocations: 0 / 342.9 MB, free: 3.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.1123, allocations: 93 kB / 343 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1127, allocations: 35.98 kB / 343 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.1159, allocations: 2.416 MB / 345.5 MB, free: 1.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1162, allocations: 0.7245 MB / 346.2 MB, free: 476 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1165, allocations: 45.88 kB / 346.2 MB, free: 428 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1166, allocations: 59.34 kB / 346.3 MB, free: 368 kB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1166, allocations: 0 / 346.3 MB, free: 368 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.1314, allocations: 4.369 MB / 350.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.1316, allocations: 192 kB / 350.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.92, allocations: 0 / 350.8 MB, free: 11.72 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches