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.001699/0.001699, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001711/0.001711, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.579/1.579, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.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 0.002162/0.002162, allocations: 63.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2483, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005005/0.2533, allocations: 2.692 MB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.2561, allocations: 1.324 MB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.2565, allocations: 7.938 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.2572, allocations: 175.1 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.2581, allocations: 250.6 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.2586, allocations: 147.5 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.2596, allocations: 458 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.2598, allocations: 62.02 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.2603, allocations: 187.3 kB / 436.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.2608, allocations: 203.1 kB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.2608, allocations: 32 kB / 436.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.261, allocations: 75.92 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.2612, allocations: 91.67 kB / 436.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2614, allocations: 159.2 kB / 437 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.262, allocations: 497.9 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.262, allocations: 0 / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.262, allocations: 0 / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.262, allocations: 0 / 437.4 MB, free: 140 kB / 334.1 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.001108/0.2631, allocations: 0.6407 MB / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.2632, allocations: 19.98 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.2633, allocations: 59.16 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.765e-05/0.2634, allocations: 48.66 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.264, allocations: 293 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.264, allocations: 12.81 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2641, allocations: 24.31 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.2648, allocations: 0.5997 MB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2649, allocations: 0 / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.2649, allocations: 12 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.2649, allocations: 8 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.2652, allocations: 157.7 kB / 439.3 MB, free: 14.09 MB / 350.1 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.001396/0.2666, allocations: 0.7071 MB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.267, allocations: 174.5 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2671, allocations: 68.83 kB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2672, allocations: 4 kB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.2675, allocations: 201.6 kB / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.2675, allocations: 0 / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008451/0.2683, allocations: 326.1 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/0.2685, allocations: 320.3 kB / 441.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.2691, allocations: 445.7 kB / 441.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.2691, allocations: 33.7 kB / 441.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.2693, allocations: 208.4 kB / 441.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/0.2694, allocations: 87.28 kB / 441.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2695, allocations: 57.69 kB / 441.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2696, allocations: 350.8 kB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.2698, allocations: 55.98 kB / 442.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.2702, allocations: 445.7 kB / 442.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.2705, allocations: 175.9 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2705, allocations: 0 / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004744/0.2709, allocations: 278.1 kB / 443.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.271, allocations: 8 kB / 443.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.271, allocations: 0 / 443.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.2711, allocations: 40.77 kB / 443.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2713, allocations: 43.98 kB / 443.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.2729, allocations: 1.459 MB / 444.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.2731, allocations: 23.84 kB / 444.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2731, allocations: 12.03 kB / 444.7 MB, free: 8.191 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: 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.0002141/0.2734, allocations: 172.7 kB / 444.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.2734, allocations: 47.72 kB / 445 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.2739, allocations: 278.6 kB / 445.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2739, allocations: 4 kB / 445.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.2739, allocations: 0 / 445.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005834/0.2745, allocations: 0.579 MB / 445.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.2755, allocations: 0.6563 MB / 446.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.2755, allocations: 11.94 kB / 446.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.2757, allocations: 47.92 kB / 446.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2757, allocations: 0 / 446.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.2757, allocations: 7.984 kB / 446.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2757, allocations: 0 / 446.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2757, allocations: 0 / 446.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.2763, allocations: 423.5 kB / 447 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.2765, allocations: 55.83 kB / 447 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.2765, allocations: 12 kB / 447 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2767, allocations: 11.98 kB / 447 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2768, allocations: 15.97 kB / 447 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2768, allocations: 8 kB / 447.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.2772, allocations: 323.2 kB / 447.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2772, allocations: 3.938 kB / 447.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.2776, allocations: 95.83 kB / 447.5 MB, free: 5.285 MB / 350.1 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.002464/0.28, allocations: 1.299 MB / 448.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.2806, allocations: 306.7 kB / 449.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2806, allocations: 0 / 449.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2808, allocations: 83.77 kB / 449.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.2814, allocations: 107.9 kB / 449.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.2859, allocations: 3.402 MB / 452.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.2862, allocations: 195.5 kB / 452.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.2863, allocations: 46.95 kB / 452.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.2865, allocations: 123.4 kB / 453 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2865, allocations: 0 / 453 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.3317, allocations: 11.57 MB / 464.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.26, allocations: 22.88 kB / 464.6 MB, free: 4.273 MB / 366.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/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: 16.00814364477992]