Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 183.4 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 51.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2619, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004355/0.2662, allocations: 2.889 MB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.2682, allocations: 1.289 MB / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2684, allocations: 7.938 kB / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.2688, allocations: 175.1 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.2693, allocations: 210.8 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.2697, allocations: 167.5 kB / 427.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005375/0.2702, allocations: 453.9 kB / 427.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2704, allocations: 72.02 kB / 427.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2706, allocations: 191.3 kB / 428 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.2709, allocations: 215.1 kB / 428.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.271, allocations: 28 kB / 428.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.2711, allocations: 67.98 kB / 428.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2712, allocations: 91.61 kB / 428.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.2714, allocations: 202.9 kB / 428.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.272, allocations: 486.4 kB / 429.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.272, allocations: 4 kB / 429.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.272, allocations: 0 / 429.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.272, allocations: 0 / 429.1 MB, free: 8.082 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001056/0.2731, allocations: 0.629 MB / 429.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2731, allocations: 8.031 kB / 429.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.555e-05/0.2732, allocations: 67.09 kB / 429.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.2733, allocations: 48.66 kB / 429.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.2738, allocations: 289 kB / 430.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2738, allocations: 16.81 kB / 430.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.2738, allocations: 23.88 kB / 430.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.2743, allocations: 297.5 kB / 430.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2743, allocations: 0 / 430.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.2744, allocations: 12 kB / 430.5 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.2744, allocations: 12 kB / 430.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.2747, allocations: 149.6 kB / 430.6 MB, free: 6.441 MB / 334.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.00136/0.276, allocations: 0.7925 MB / 431.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.2765, allocations: 183.1 kB / 431.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2766, allocations: 72.02 kB / 431.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2766, allocations: 7.938 kB / 431.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.2769, allocations: 134.8 kB / 431.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.2769, allocations: 0 / 431.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.000831/0.2777, allocations: 330 kB / 432.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.2779, allocations: 320.4 kB / 432.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.2784, allocations: 429.6 kB / 432.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.2784, allocations: 33.69 kB / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.2786, allocations: 204.5 kB / 433.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.2787, allocations: 87.25 kB / 433.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.2788, allocations: 61.7 kB / 433.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.279, allocations: 346.8 kB / 433.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2791, allocations: 63.97 kB / 433.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2794, allocations: 172 kB / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.2797, allocations: 179.3 kB / 434 MB, free: 2.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2797, allocations: 0 / 434 MB, free: 2.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005047/0.2802, allocations: 274.1 kB / 434.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2802, allocations: 4 kB / 434.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2802, allocations: 4 kB / 434.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.2803, allocations: 32.84 kB / 434.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.2805, allocations: 55.94 kB / 434.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.2821, allocations: 1.476 MB / 435.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.2823, allocations: 27.86 kB / 435.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2823, allocations: 8 kB / 435.9 MB, free: 0.8242 MB / 334.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.0002007/0.2825, allocations: 170 kB / 436 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.2826, allocations: 47.89 kB / 436.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.2831, allocations: 254 kB / 436.3 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2831, allocations: 7.969 kB / 436.3 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.2831, allocations: 4 kB / 436.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005847/0.2837, allocations: 0.5816 MB / 436.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.2847, allocations: 0.6719 MB / 437.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2847, allocations: 0 / 437.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2849, allocations: 51.91 kB / 437.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2849, allocations: 0 / 437.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.2849, allocations: 8 kB / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2849, allocations: 0 / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2849, allocations: 0 / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.2855, allocations: 413.5 kB / 438.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2856, allocations: 55.75 kB / 438.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.2857, allocations: 8 kB / 438.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2859, allocations: 12 kB / 438.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2859, allocations: 15.97 kB / 438.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.286, allocations: 4 kB / 438.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.2863, allocations: 315.1 kB / 438.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2863, allocations: 0 / 438.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.2867, allocations: 99.81 kB / 438.6 MB, free: 13.95 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 (23): * Single equations (assignments): 21 * 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.002366/0.2891, allocations: 1.264 MB / 439.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.2897, allocations: 306.5 kB / 440.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2897, allocations: 4.188 kB / 440.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2898, allocations: 71.86 kB / 440.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.2904, allocations: 97.38 kB / 440.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.295, allocations: 3.36 MB / 443.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.2954, allocations: 0.796 MB / 444.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.2956, allocations: 46.94 kB / 444.5 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.2958, allocations: 127.4 kB / 444.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2958, allocations: 4 kB / 444.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.3404, allocations: 10.43 MB / 455.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.25, allocations: 6.688 kB / 455.1 MB, free: 13.59 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.795832400999643]