Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007289/0.0007288, allocations: 89.03 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 47.58 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00394/0.1946, allocations: 3.978 MB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1962, allocations: 1.672 MB / 380.8 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.1963, allocations: 5.094 kB / 380.8 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1965, allocations: 35.12 kB / 380.9 MB, free: 40.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1968, allocations: 104.9 kB / 381 MB, free: 40.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.1974, allocations: 222.5 kB / 381.2 MB, free: 40.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.1977, allocations: 316.2 kB / 381.5 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1978, allocations: 24.17 kB / 381.5 MB, free: 40.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.1981, allocations: 119.8 kB / 381.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1982, allocations: 83.14 kB / 381.7 MB, free: 40.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.1982, allocations: 6.281 kB / 381.7 MB, free: 40.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.1985, allocations: 98.86 kB / 381.8 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.1986, allocations: 38.72 kB / 381.9 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.1987, allocations: 90.12 kB / 381.9 MB, free: 40.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1989, allocations: 152.9 kB / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1989, allocations: 0 / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1989, allocations: 0 / 382.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1989, allocations: 0 / 382.1 MB, free: 40.07 MB / 298.7 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.0007786/0.1997, allocations: 452.3 kB / 382.5 MB, free: 39.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1997, allocations: 10.38 kB / 382.5 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.1998, allocations: 47.45 kB / 382.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2, allocations: 25.98 kB / 382.6 MB, free: 39.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2002, allocations: 209.4 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2002, allocations: 10.41 kB / 382.8 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.2002, allocations: 13.44 kB / 382.8 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.2006, allocations: 222.2 kB / 383.1 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.2007, allocations: 5.031 kB / 383.1 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.2007, allocations: 6.156 kB / 383.1 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2007, allocations: 4.156 kB / 383.1 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.2011, allocations: 155.1 kB / 383.2 MB, free: 39.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2022, allocations: 0.9382 MB / 384.2 MB, free: 38.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2026, allocations: 154.6 kB / 384.3 MB, free: 38.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2027, allocations: 58.83 kB / 384.4 MB, free: 38.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/0.2031, allocations: 0.4983 MB / 384.9 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2032, allocations: 39.55 kB / 384.9 MB, free: 37.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.2032, allocations: 0 / 384.9 MB, free: 37.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002301/0.2055, allocations: 0.7582 MB / 385.7 MB, free: 36.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.2055, allocations: 54.62 kB / 385.7 MB, free: 36.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2056, allocations: 158.8 kB / 385.9 MB, free: 36.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2057, allocations: 30.86 kB / 385.9 MB, free: 36.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2057, allocations: 139.4 kB / 386 MB, free: 36.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.2058, allocations: 75.61 kB / 386.1 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.2058, allocations: 9.219 kB / 386.1 MB, free: 36.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.2058, allocations: 326.8 kB / 386.4 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2061, allocations: 81.91 kB / 386.5 MB, free: 36.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2063, allocations: 200.1 kB / 386.7 MB, free: 35.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2068, allocations: 292.9 kB / 387 MB, free: 35.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2068, allocations: 0.9688 kB / 387 MB, free: 35.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006375/0.2075, allocations: 328.7 kB / 387.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2075, allocations: 6.531 kB / 387.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2075, allocations: 3.219 kB / 387.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2075, allocations: 5.25 kB / 387.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2079, allocations: 77.11 kB / 387.4 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2079, allocations: 5.656 kB / 387.4 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2081, allocations: 21.58 kB / 387.4 MB, free: 35.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.2082, allocations: 27.3 kB / 387.5 MB, free: 35.51 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.601e-05/0.2083, allocations: 134.7 kB / 387.6 MB, free: 35.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.2083, allocations: 15.81 kB / 387.6 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.2089, allocations: 234.6 kB / 387.8 MB, free: 35.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.209, allocations: 2.25 kB / 387.8 MB, free: 35.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.209, allocations: 5.344 kB / 387.9 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.209, allocations: 0 / 387.9 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2101, allocations: 0.6008 MB / 388.5 MB, free: 34.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2101, allocations: 1.312 kB / 388.5 MB, free: 34.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2104, allocations: 49.67 kB / 388.5 MB, free: 34.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2104, allocations: 2.5 kB / 388.5 MB, free: 34.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.2105, allocations: 15.48 kB / 388.5 MB, free: 34.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2105, allocations: 1.344 kB / 388.5 MB, free: 34.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2105, allocations: 13.14 kB / 388.5 MB, free: 34.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.2112, allocations: 407.3 kB / 388.9 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.2113, allocations: 88.95 kB / 389 MB, free: 34.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2113, allocations: 11.92 kB / 389 MB, free: 34.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2116, allocations: 15.98 kB / 389 MB, free: 34.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.2116, allocations: 15.98 kB / 389.1 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.2116, allocations: 12 kB / 389.1 MB, free: 34.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.2117, allocations: 107.2 kB / 389.2 MB, free: 34.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2117, allocations: 0 / 389.2 MB, free: 34.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000344/0.212, allocations: 63.94 kB / 389.2 MB, free: 34.02 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009637/0.213, allocations: 0.9671 MB / 390.2 MB, free: 33.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.2135, allocations: 212.3 kB / 390.4 MB, free: 32.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2135, allocations: 0 / 390.4 MB, free: 32.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.2137, allocations: 91.83 kB / 390.5 MB, free: 32.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2141, allocations: 44.47 kB / 390.6 MB, free: 32.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.216, allocations: 1.265 MB / 391.8 MB, free: 31.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2162, allocations: 0.7168 MB / 392.5 MB, free: 30.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2163, allocations: 51.41 kB / 392.6 MB, free: 30.5 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2163, allocations: 0 / 392.6 MB, free: 30.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/2.886, allocations: 2.746 MB / 395.3 MB, free: 27.75 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches