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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007969/0.0007969, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007752/0.0007752, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8642/0.8642, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.089e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003534/0.003545, allocations: 4.271 MB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004707, allocations: 1.615 MB / 330.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.004763, allocations: 4 kB / 330.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.004978, allocations: 35.7 kB / 330.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.00524, allocations: 135 kB / 330.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.005672, allocations: 269.3 kB / 330.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.005919, allocations: 290.7 kB / 331.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.005955, allocations: 13.27 kB / 331.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.006182, allocations: 175.6 kB / 331.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.006262, allocations: 71.78 kB / 331.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.006281, allocations: 11.94 kB / 331.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.006435, allocations: 91.88 kB / 331.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.006492, allocations: 43.83 kB / 331.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.006545, allocations: 63.89 kB / 331.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.006789, allocations: 235.4 kB / 331.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006791, allocations: 3.938 kB / 331.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006792, allocations: 0 / 331.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.006795, allocations: 0 / 331.8 MB, free: 8.551 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.0006021/0.007398, allocations: 417.8 kB / 332.2 MB, free: 8.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.007433, allocations: 15.98 kB / 332.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.007473, allocations: 46.73 kB / 332.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.007577, allocations: 16.89 kB / 332.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.007756, allocations: 157.5 kB / 332.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.007768, allocations: 12.66 kB / 332.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.007793, allocations: 12.38 kB / 332.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.008116, allocations: 372.5 kB / 332.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.008128, allocations: 8.125 kB / 332.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.008147, allocations: 11.94 kB / 332.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.008153, allocations: 4 kB / 332.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.008361, allocations: 155.8 kB / 333 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.00916, allocations: 0.8557 MB / 333.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.009393, allocations: 142.8 kB / 334 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.009472, allocations: 52.83 kB / 334 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.009769, allocations: 340 kB / 334.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.009787, allocations: 34.56 kB / 334.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.009788, allocations: 0 / 334.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001377/0.01116, allocations: 0.7076 MB / 335.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.01119, allocations: 51.41 kB / 335.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.01129, allocations: 167 kB / 335.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.01131, allocations: 33.7 kB / 335.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.01137, allocations: 140.1 kB / 335.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.01141, allocations: 71.42 kB / 335.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.01147, allocations: 57.66 kB / 335.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.01155, allocations: 326.8 kB / 335.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.01169, allocations: 87.69 kB / 336 MB, free: 4.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.01187, allocations: 201.9 kB / 336.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.0122, allocations: 292.5 kB / 336.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0122, allocations: 4 kB / 336.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004016/0.0126, allocations: 321.3 kB / 336.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01261, allocations: 11.94 kB / 336.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01262, allocations: 4 kB / 336.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01263, allocations: 4 kB / 336.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.01282, allocations: 83.88 kB / 336.9 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.01284, allocations: 8 kB / 336.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.01294, allocations: 20.14 kB / 337 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.01296, allocations: 16 kB / 337 MB, free: 2.957 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/0.01305, allocations: 129.8 kB / 337.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.01308, allocations: 19.84 kB / 337.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.01345, allocations: 245.5 kB / 337.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01346, allocations: 4 kB / 337.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01346, allocations: 4 kB / 337.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01347, allocations: 7.969 kB / 337.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.01417, allocations: 0.5542 MB / 337.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.01417, allocations: 12.11 kB / 337.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.0143, allocations: 47.97 kB / 338 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01431, allocations: 0 / 338 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01432, allocations: 7.984 kB / 338 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01432, allocations: 4 kB / 338 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01432, allocations: 0 / 338 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.01479, allocations: 407 kB / 338.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.01484, allocations: 31.91 kB / 338.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01486, allocations: 4 kB / 338.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01497, allocations: 15.98 kB / 338.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.01499, allocations: 15.91 kB / 338.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.015, allocations: 15.98 kB / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.895e-05/0.01505, allocations: 111.3 kB / 338.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01505, allocations: 4 kB / 338.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000251/0.0153, allocations: 59.94 kB / 338.7 MB, free: 1.172 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 (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.0006614/0.01596, allocations: 0.9538 MB / 339.6 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.01631, allocations: 212.3 kB / 339.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01631, allocations: 0 / 339.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01643, allocations: 87.77 kB / 339.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.0167, allocations: 48.53 kB / 339.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.01873, allocations: 2.324 MB / 342.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.0188, allocations: 107.3 kB / 342.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.01893, allocations: 41.94 kB / 342.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.01902, allocations: 48.47 kB / 342.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01902, allocations: 7.938 kB / 342.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.03735, allocations: 5.309 MB / 347.8 MB, free: 7.918 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.705, allocations: 7.188 kB / 347.8 MB, free: 7.914 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.433480679988861]