Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0008893/0.0008893, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0008057/0.0008057, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.9065/0.9065, allocations: 177 MB / 204.1 MB, free: 5.758 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.429e-05, allocations: 2.281 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003514/0.003528, allocations: 2.7 MB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.005617, allocations: 1.328 MB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.00586, allocations: 3.938 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.006376, allocations: 187.1 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.006941, allocations: 254.4 kB / 329 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.007287, allocations: 139.5 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.007822, allocations: 481.6 kB / 329.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.007981, allocations: 64.02 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.00824, allocations: 271.3 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.008432, allocations: 175.5 kB / 330.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.008471, allocations: 28 kB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.008591, allocations: 71.92 kB / 330.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.008676, allocations: 91.69 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.008791, allocations: 131.6 kB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.009236, allocations: 498.4 kB / 330.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00924, allocations: 4 kB / 330.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.009241, allocations: 0 / 330.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.009248, allocations: 0 / 330.9 MB, free: 9.523 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007627/0.01001, allocations: 0.6406 MB / 331.5 MB, free: 8.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.01005, allocations: 15.98 kB / 331.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.543e-05/0.01012, allocations: 59.23 kB / 331.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.01019, allocations: 52.61 kB / 331.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.01051, allocations: 288.4 kB / 331.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.01053, allocations: 16.88 kB / 331.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.01056, allocations: 16.38 kB / 331.9 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.01123, allocations: 0.6048 MB / 332.6 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.01124, allocations: 192 / 332.6 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.01126, allocations: 16.12 kB / 332.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01127, allocations: 4 kB / 332.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.01147, allocations: 149.9 kB / 332.7 MB, free: 7.492 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.01238, allocations: 0.7038 MB / 333.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.01263, allocations: 171.1 kB / 333.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.01272, allocations: 72.83 kB / 333.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01274, allocations: 4 kB / 333.7 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.01293, allocations: 187.4 kB / 333.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.01293, allocations: 0 / 333.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005218/0.01345, allocations: 345.8 kB / 334.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.01355, allocations: 316.4 kB / 334.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.01386, allocations: 449.6 kB / 334.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01388, allocations: 29.7 kB / 335 MB, free: 5.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01398, allocations: 208.4 kB / 335.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.01404, allocations: 91.25 kB / 335.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.01409, allocations: 53.7 kB / 335.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.01419, allocations: 350.8 kB / 335.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.01427, allocations: 67.97 kB / 335.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.01448, allocations: 433 kB / 336.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.01468, allocations: 171.3 kB / 336.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.01468, allocations: 4 kB / 336.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002979/0.01498, allocations: 278 kB / 336.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01499, allocations: 8 kB / 336.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.015, allocations: 4.094 kB / 336.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.01511, allocations: 32.84 kB / 336.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01523, allocations: 51.91 kB / 336.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.01618, allocations: 1.459 MB / 338.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01629, allocations: 23.92 kB / 338.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.0163, allocations: 8 kB / 338.2 MB, free: 1.594 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.01644, allocations: 173.7 kB / 338.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.01648, allocations: 43.72 kB / 338.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.0168, allocations: 270 kB / 338.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01681, allocations: 7.938 kB / 338.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01681, allocations: 3.938 kB / 338.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005577/0.01737, allocations: 0.5867 MB / 339.2 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.01795, allocations: 0.6421 MB / 339.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01796, allocations: 3.938 kB / 339.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.01807, allocations: 55.97 kB / 339.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01807, allocations: 0 / 339.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01809, allocations: 4 kB / 339.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01809, allocations: 4 kB / 340 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01809, allocations: 0 / 340 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.01844, allocations: 422.9 kB / 340.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.01852, allocations: 67.66 kB / 340.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.01855, allocations: 7.984 kB / 340.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01866, allocations: 16 kB / 340.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.0187, allocations: 16.03 kB / 340.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.01872, allocations: 12 kB / 340.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.01893, allocations: 319.1 kB / 340.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01893, allocations: 0 / 340.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.01919, allocations: 99.95 kB / 340.9 MB, free: 14.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001177/0.02036, allocations: 1.28 MB / 342.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.02077, allocations: 310.3 kB / 342.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02077, allocations: 0 / 342.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.02086, allocations: 76.31 kB / 342.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.02121, allocations: 105.9 kB / 342.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.02409, allocations: 3.359 MB / 346 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.02455, allocations: 199.5 kB / 346.2 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.02468, allocations: 46.94 kB / 346.3 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.0248, allocations: 128.5 kB / 346.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0248, allocations: 0 / 346.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.04922, allocations: 11.68 MB / 358.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.074, allocations: 8.062 kB / 358.1 MB, free: 13.62 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.909959064796567]