Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9131/0.9131, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.662e-05, allocations: 2.281 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004319/0.004346, allocations: 2.688 MB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.006386, allocations: 1.34 MB / 328.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.006581, allocations: 7.938 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.00703, allocations: 183 kB / 328.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.00748, allocations: 258.4 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.007725, allocations: 139.5 kB / 329.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.008148, allocations: 481.6 kB / 329.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.008297, allocations: 72.02 kB / 329.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.008524, allocations: 259.4 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.008716, allocations: 171.5 kB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.008753, allocations: 32 kB / 330.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.008856, allocations: 67.92 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.008934, allocations: 103.7 kB / 330.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.009031, allocations: 127.7 kB / 330.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.009421, allocations: 498.3 kB / 330.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.009425, allocations: 4 kB / 330.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009427, allocations: 0 / 330.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.009433, allocations: 0 / 330.9 MB, free: 9.539 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.0007592/0.01019, allocations: 0.6367 MB / 331.6 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.01024, allocations: 8.031 kB / 331.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.733e-05/0.01032, allocations: 67.22 kB / 331.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.0104, allocations: 56.55 kB / 331.7 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.01081, allocations: 280.4 kB / 332 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.01083, allocations: 20.86 kB / 332 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.01085, allocations: 28.31 kB / 332 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.01128, allocations: 0.5969 MB / 332.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.01129, allocations: 0 / 332.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.01132, allocations: 8 kB / 332.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.01133, allocations: 7.984 kB / 332.6 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.01153, allocations: 153.9 kB / 332.8 MB, free: 7.508 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.0008762/0.01241, allocations: 0.696 MB / 333.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.01265, allocations: 171.1 kB / 333.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.01274, allocations: 72.83 kB / 333.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.01275, allocations: 0 / 333.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.01295, allocations: 201 kB / 333.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.344e-06/0.01295, allocations: 11.92 kB / 333.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005409/0.01349, allocations: 327 kB / 334.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/0.01359, allocations: 312.4 kB / 334.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.01394, allocations: 445.6 kB / 335 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01396, allocations: 33.7 kB / 335 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01407, allocations: 220.4 kB / 335.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.01412, allocations: 79.28 kB / 335.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01418, allocations: 61.69 kB / 335.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.01427, allocations: 350.8 kB / 335.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.01437, allocations: 59.97 kB / 335.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.01458, allocations: 441 kB / 336.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.01477, allocations: 168 kB / 336.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01477, allocations: 3.938 kB / 336.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002997/0.01507, allocations: 286.1 kB / 336.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01509, allocations: 4 kB / 336.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.01509, allocations: 0 / 336.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.852e-05/0.01519, allocations: 32.83 kB / 336.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.01531, allocations: 55.92 kB / 336.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.01654, allocations: 1.459 MB / 338.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.01671, allocations: 19.89 kB / 338.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01673, allocations: 16.03 kB / 338.2 MB, free: 1.609 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.0001705/0.0169, allocations: 169.7 kB / 338.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.01696, allocations: 47.72 kB / 338.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.01742, allocations: 273 kB / 338.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01742, allocations: 3.938 kB / 338.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01743, allocations: 0 / 338.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004507/0.01788, allocations: 0.5828 MB / 339.3 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.01874, allocations: 0.6646 MB / 340 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01874, allocations: 0 / 340 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.01892, allocations: 39.98 kB / 340 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01893, allocations: 3.984 kB / 340 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.01895, allocations: 11.98 kB / 340 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01895, allocations: 3.938 kB / 340 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01895, allocations: 0 / 340 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.01948, allocations: 417.2 kB / 340.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.01961, allocations: 59.72 kB / 340.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.01965, allocations: 8 kB / 340.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.01984, allocations: 16.05 kB / 340.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.01988, allocations: 19.97 kB / 340.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.0199, allocations: 4 kB / 340.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.02022, allocations: 323.1 kB / 340.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02022, allocations: 96 / 340.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000414/0.02063, allocations: 99.81 kB / 340.9 MB, free: 14.7 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.001671/0.0223, allocations: 1.284 MB / 342.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.02285, allocations: 318.3 kB / 342.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.02286, allocations: 4 kB / 342.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.02301, allocations: 71.91 kB / 342.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.02354, allocations: 105.5 kB / 342.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.02735, allocations: 3.362 MB / 346.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.02752, allocations: 199.4 kB / 346.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.02768, allocations: 46.94 kB / 346.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.02785, allocations: 120.5 kB / 346.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02785, allocations: 0 / 346.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.05042, allocations: 11.7 MB / 358.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.707, allocations: 7.625 kB / 358.1 MB, free: 13.7 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.58989691361785]