Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001851/0.001851, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 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.001988/0.001988, allocations: 213.4 kB / 23.74 MB, free: 4.695 MB / 14.72 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 1.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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.TwoTanks,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.89 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2416, allocations: 53.4 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004033/0.2457, allocations: 2.796 MB / 434 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2472, allocations: 0.8645 MB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2473, allocations: 4 kB / 434.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.2476, allocations: 75.41 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.2479, allocations: 146.9 kB / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.2481, allocations: 87.81 kB / 435.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.2486, allocations: 438.3 kB / 435.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2487, allocations: 59.95 kB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.2489, allocations: 167.4 kB / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.2492, allocations: 183.2 kB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.2492, allocations: 36 kB / 436 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.2493, allocations: 36 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.2494, allocations: 75.69 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.2496, allocations: 195.1 kB / 436.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.2501, allocations: 442.7 kB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2501, allocations: 0 / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2501, allocations: 0 / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.2501, allocations: 0 / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001143/0.2512, allocations: 0.6118 MB / 437.3 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2513, allocations: 8.031 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.2514, allocations: 71.17 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.2515, allocations: 40.7 kB / 437.5 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2519, allocations: 254.4 kB / 437.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.252, allocations: 106.2 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.2521, allocations: 24.38 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.2526, allocations: 334.4 kB / 438.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2527, allocations: 0 / 438.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.2527, allocations: 12 kB / 438.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2527, allocations: 8 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.2531, allocations: 209.8 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2546, allocations: 0.7942 MB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.2552, allocations: 255.6 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.2554, allocations: 108.9 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.2554, allocations: 4 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.2555, allocations: 42.5 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.2555, allocations: 0 / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001035/0.2565, allocations: 419 kB / 440 MB, free: 13.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.2567, allocations: 316.4 kB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.257, allocations: 276.2 kB / 440.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.257, allocations: 37.62 kB / 440.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2571, allocations: 180.8 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.2572, allocations: 115 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2574, allocations: 69.66 kB / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2575, allocations: 346.7 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.2577, allocations: 83.97 kB / 441.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.2581, allocations: 216.6 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.2585, allocations: 259.3 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2585, allocations: 7.938 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006537/0.2592, allocations: 365.8 kB / 442.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.2592, allocations: 36.2 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2592, allocations: 4 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.2594, allocations: 40.84 kB / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/0.2604, allocations: 159.8 kB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/0.2641, allocations: 3.018 MB / 445.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.2644, allocations: 39.95 kB / 445.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2644, allocations: 20 kB / 445.5 MB, free: 7.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.2646, allocations: 148.8 kB / 445.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.2647, allocations: 39.81 kB / 445.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.2648, allocations: 35.17 kB / 445.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2648, allocations: 7.922 kB / 445.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2648, allocations: 7.938 kB / 445.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007321/0.2655, allocations: 0.6462 MB / 446.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.266, allocations: 368.3 kB / 446.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.266, allocations: 0 / 446.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.2673, allocations: 207.7 kB / 447 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.868e-05/0.2673, allocations: 20.86 kB / 447 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.2674, allocations: 7.984 kB / 447 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.2706, allocations: 2.834 MB / 449.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2706, allocations: 0 / 449.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.2715, allocations: 0.513 MB / 450.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2716, allocations: 63.75 kB / 450.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.2716, allocations: 8 kB / 450.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.2719, allocations: 27.92 kB / 450.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.272, allocations: 23.95 kB / 450.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.272, allocations: 7.938 kB / 450.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.2722, allocations: 207.1 kB / 450.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2722, allocations: 0 / 450.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.2726, allocations: 107.9 kB / 450.8 MB, free: 2.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.2738, allocations: 1.065 MB / 451.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.2754, allocations: 0.5137 MB / 452.4 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2754, allocations: 0 / 452.4 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.2768, allocations: 394.3 kB / 452.7 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2773, allocations: 96.48 kB / 452.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.2824, allocations: 3.419 MB / 456.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.2828, allocations: 0.7838 MB / 457 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.283, allocations: 38.95 kB / 457.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2832, allocations: 103.4 kB / 457.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2832, allocations: 0 / 457.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/0.3238, allocations: 9.907 MB / 467.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.41, allocations: 4.734 kB / 467.1 MB, free: 1.73 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00029988 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank1.H in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank1.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank1.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank1.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank2.H in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank2.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank2.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank2.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.024933783999586]