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.001624/0.001624, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001993/0.001993, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.957 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.001514/0.001514, allocations: 47.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 53.35 MB / 431.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004643/0.2504, allocations: 2.914 MB / 434 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2531, allocations: 1.418 MB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.2534, allocations: 7.938 kB / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.254, allocations: 183.1 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.2547, allocations: 250.6 kB / 435.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.255, allocations: 147.5 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.2556, allocations: 469.9 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2558, allocations: 64.33 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.2561, allocations: 187.3 kB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.2564, allocations: 223.1 kB / 436.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2565, allocations: 28 kB / 437 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2566, allocations: 71.98 kB / 437 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2567, allocations: 91.67 kB / 437.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.2569, allocations: 198.9 kB / 437.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.2576, allocations: 490.4 kB / 437.8 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2576, allocations: 0 / 437.8 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2576, allocations: 4 kB / 437.8 MB, free: 104 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2576, allocations: 0 / 437.8 MB, free: 104 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.001147/0.2587, allocations: 0.6405 MB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2588, allocations: 8.031 kB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.2589, allocations: 67.16 kB / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.259, allocations: 48.66 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.2595, allocations: 293 kB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.2595, allocations: 24.8 kB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2596, allocations: 19.94 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2601, allocations: 305.4 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2601, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.2601, allocations: 12 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2601, allocations: 4 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.2605, allocations: 145.7 kB / 439.4 MB, free: 14.45 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.001398/0.2619, allocations: 0.8081 MB / 440.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.2623, allocations: 171.1 kB / 440.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.2624, allocations: 68.83 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2624, allocations: 15.94 kB / 440.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.2627, allocations: 140.8 kB / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.2627, allocations: 0 / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008375/0.2636, allocations: 325.7 kB / 440.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.2637, allocations: 324.4 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.2643, allocations: 437.7 kB / 441.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.2643, allocations: 33.7 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.2645, allocations: 208.4 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.2646, allocations: 87.25 kB / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.2647, allocations: 53.7 kB / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2648, allocations: 350.8 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.265, allocations: 63.97 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2652, allocations: 180.7 kB / 442.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.2655, allocations: 175.2 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2655, allocations: 0 / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005139/0.2661, allocations: 278 kB / 443 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2661, allocations: 8 kB / 443 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2661, allocations: 0 / 443 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.2662, allocations: 36.92 kB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.2664, allocations: 51.92 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.268, allocations: 1.471 MB / 444.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2683, allocations: 31.88 kB / 444.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2683, allocations: 8 kB / 444.6 MB, free: 8.797 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.0002088/0.2685, allocations: 164.9 kB / 444.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.2686, allocations: 43.7 kB / 444.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.2691, allocations: 265.9 kB / 445.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2691, allocations: 4 kB / 445.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.2691, allocations: 0 / 445.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005648/0.2696, allocations: 0.5789 MB / 445.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2706, allocations: 0.6824 MB / 446.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2706, allocations: 0 / 446.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2709, allocations: 43.92 kB / 446.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2709, allocations: 0 / 446.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2709, allocations: 15.98 kB / 446.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2709, allocations: 0 / 446.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2709, allocations: 0 / 446.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.2715, allocations: 406.7 kB / 446.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.2716, allocations: 63.7 kB / 446.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.2717, allocations: 3.984 kB / 446.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2719, allocations: 15.94 kB / 446.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2719, allocations: 20.03 kB / 446.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.272, allocations: 8 kB / 446.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000368/0.2723, allocations: 319.1 kB / 447.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2723, allocations: 0 / 447.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.2727, allocations: 95.88 kB / 447.3 MB, free: 5.914 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.00239/0.2751, allocations: 1.272 MB / 448.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.2757, allocations: 294.6 kB / 448.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2757, allocations: 0 / 448.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2759, allocations: 74.97 kB / 449 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.2765, allocations: 109.5 kB / 449.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.2813, allocations: 3.405 MB / 452.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.2818, allocations: 0.8076 MB / 453.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.282, allocations: 42.95 kB / 453.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.2821, allocations: 123.4 kB / 453.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2821, allocations: 0 / 453.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.3268, allocations: 10.52 MB / 463.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.54, allocations: 0 / 463.9 MB, free: 5.426 MB / 366.1 MB " [Timeout remaining time 646] (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: 16.179164737000974]