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.00184/0.00184, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001611/0.001611, allocations: 208.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001613/0.001613, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2529, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00506/0.258, allocations: 2.692 MB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.2604, allocations: 1.317 MB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.2606, allocations: 11.88 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.2611, allocations: 175.1 kB / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.2617, allocations: 258.6 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.262, allocations: 143.5 kB / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.2626, allocations: 454 kB / 436.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2628, allocations: 70 kB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.263, allocations: 191.3 kB / 436.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.2633, allocations: 195.1 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.2633, allocations: 36 kB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.2635, allocations: 71.92 kB / 436.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2636, allocations: 91.67 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2638, allocations: 159.2 kB / 436.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.2644, allocations: 0.4901 MB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2644, allocations: 0 / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2644, allocations: 0 / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2644, allocations: 0 / 437.4 MB, free: 308 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.001047/0.2654, allocations: 0.6445 MB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2655, allocations: 8.031 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.421e-05/0.2656, allocations: 63.16 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.2656, allocations: 48.66 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.2661, allocations: 289 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2662, allocations: 20.8 kB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.2662, allocations: 19.94 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.2669, allocations: 0.5956 MB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2669, allocations: 12 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2669, allocations: 11.98 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.2669, allocations: 8 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.2672, allocations: 149.7 kB / 439.2 MB, free: 14.27 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.001317/0.2685, allocations: 0.6994 MB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.2689, allocations: 174.8 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2691, allocations: 68.83 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2691, allocations: 11.94 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.2694, allocations: 186.7 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2694, allocations: 4 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007991/0.2702, allocations: 327.3 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.2703, allocations: 316.4 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.2709, allocations: 445.6 kB / 441.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2709, allocations: 33.7 kB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2711, allocations: 212.5 kB / 441.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.2711, allocations: 87.25 kB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.2712, allocations: 57.7 kB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2714, allocations: 354.7 kB / 442.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2715, allocations: 59.97 kB / 442.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.2719, allocations: 437.7 kB / 442.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.2722, allocations: 179.3 kB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2722, allocations: 4 kB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004928/0.2727, allocations: 274 kB / 443.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2727, allocations: 8 kB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2727, allocations: 0 / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.2729, allocations: 32.84 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2731, allocations: 55.91 kB / 443.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.2746, allocations: 1.455 MB / 444.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2748, allocations: 27.88 kB / 444.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.2749, allocations: 12 kB / 444.7 MB, free: 8.367 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.0002012/0.2751, allocations: 171.9 kB / 444.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.2751, allocations: 51.66 kB / 444.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.2756, allocations: 266 kB / 445.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2757, allocations: 4 kB / 445.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.2757, allocations: 0 / 445.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005553/0.2762, allocations: 0.5906 MB / 445.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/0.2772, allocations: 0.6552 MB / 446.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2772, allocations: 3.938 kB / 446.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.2774, allocations: 43.97 kB / 446.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2774, allocations: 3.938 kB / 446.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2774, allocations: 8 kB / 446.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2774, allocations: 0 / 446.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2774, allocations: 0 / 446.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.278, allocations: 419 kB / 446.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.2781, allocations: 60 kB / 446.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.2782, allocations: 8 kB / 446.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.2784, allocations: 11.98 kB / 447 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.2784, allocations: 19.95 kB / 447 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.2785, allocations: 8 kB / 447 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.2788, allocations: 323.1 kB / 447.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2788, allocations: 0 / 447.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.2792, allocations: 103.8 kB / 447.4 MB, free: 5.461 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.002496/0.2817, allocations: 1.31 MB / 448.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.2823, allocations: 294.5 kB / 449 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2823, allocations: 0 / 449 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.2825, allocations: 79.91 kB / 449.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.283, allocations: 101.5 kB / 449.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.2875, allocations: 3.417 MB / 452.6 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.2877, allocations: 199.5 kB / 452.8 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.2879, allocations: 42.95 kB / 452.8 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.2881, allocations: 127.5 kB / 453 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2881, allocations: 0 / 453 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/0.3307, allocations: 11.6 MB / 464.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.2, allocations: 9 kB / 464.6 MB, free: 4.52 MB / 366.1 MB " [Timeout remaining time 647] (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/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_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: 15.859391605015844]