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.001294/0.001294, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001326/0.001326, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.429/1.429, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.002333/0.002333, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 53.32 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004455/0.1246, allocations: 2.895 MB / 429.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1269, allocations: 1.402 MB / 430.6 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1271, allocations: 7.938 kB / 430.6 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.1276, allocations: 183.1 kB / 430.8 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.1281, allocations: 250.6 kB / 431 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1803/0.3084, allocations: 132.8 kB / 431.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.3092, allocations: 457.5 kB / 431.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3094, allocations: 68.83 kB / 431.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3096, allocations: 197.6 kB / 431.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3099, allocations: 222.7 kB / 432.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.3099, allocations: 30.66 kB / 432.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3101, allocations: 68.25 kB / 432.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.3102, allocations: 86.52 kB / 432.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3103, allocations: 199.2 kB / 432.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.3108, allocations: 491.5 kB / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3108, allocations: 0.8438 kB / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3108, allocations: 1.219 kB / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3108, allocations: 0.5312 kB / 432.9 MB, free: 7.523 MB / 350.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.0008544/0.3117, allocations: 0.7264 MB / 433.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3117, allocations: 9.75 kB / 433.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.3118, allocations: 56.75 kB / 433.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.3119, allocations: 48.44 kB / 433.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.3123, allocations: 353 kB / 434.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3124, allocations: 17.38 kB / 434.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.3124, allocations: 24.38 kB / 434.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.3128, allocations: 304.1 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3128, allocations: 3.688 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3129, allocations: 14.19 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3129, allocations: 5.438 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.3131, allocations: 147.8 kB / 434.6 MB, free: 6.535 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.001146/0.3143, allocations: 0.8408 MB / 435.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.3147, allocations: 173.9 kB / 435.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3148, allocations: 73.83 kB / 435.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3148, allocations: 7.641 kB / 435.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.3151, allocations: 133.6 kB / 435.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.3151, allocations: 0.75 kB / 435.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008044/0.3159, allocations: 407.2 kB / 436.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.316, allocations: 314.9 kB / 436.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.3164, allocations: 439 kB / 437 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.3164, allocations: 32.58 kB / 437 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3166, allocations: 210.8 kB / 437.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.3166, allocations: 79.58 kB / 437.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.3167, allocations: 59.69 kB / 437.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.3168, allocations: 354.8 kB / 437.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3169, allocations: 64.38 kB / 437.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3171, allocations: 185 kB / 437.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3174, allocations: 168.8 kB / 438.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3174, allocations: 1.156 kB / 438.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004558/0.3179, allocations: 283.4 kB / 438.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3179, allocations: 6 kB / 438.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3179, allocations: 1.094 kB / 438.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.318, allocations: 33.14 kB / 438.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3183, allocations: 50.83 kB / 438.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3194, allocations: 1.577 MB / 440 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.3197, allocations: 25.39 kB / 440.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3197, allocations: 7.594 kB / 440.1 MB, free: 3.117 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.0001447/0.3198, allocations: 172.9 kB / 440.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.3199, allocations: 45.62 kB / 440.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.3199, allocations: 45.47 kB / 440.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.32, allocations: 2.25 kB / 440.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.32, allocations: 2.672 kB / 440.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00038/0.3203, allocations: 0.5818 MB / 440.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008195/0.3212, allocations: 0.7154 MB / 441.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3212, allocations: 0 / 441.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.3214, allocations: 45.88 kB / 441.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3214, allocations: 4.75 kB / 441.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.3214, allocations: 8.859 kB / 441.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3214, allocations: 1.219 kB / 441.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3214, allocations: 0 / 441.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.3219, allocations: 407.8 kB / 442.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.322, allocations: 140.7 kB / 442.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3221, allocations: 8.5 kB / 442.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3223, allocations: 12.88 kB / 442.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3223, allocations: 15.59 kB / 442.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3223, allocations: 7.969 kB / 442.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.3227, allocations: 319.9 kB / 442.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3227, allocations: 0 / 442.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.3231, allocations: 94.17 kB / 442.7 MB, free: 1.297 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.002011/0.3251, allocations: 1.269 MB / 444 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.3256, allocations: 292.5 kB / 444.2 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3257, allocations: 5.156 kB / 444.2 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.3258, allocations: 74.56 kB / 444.3 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.3264, allocations: 116.6 kB / 444.4 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.3309, allocations: 3.388 MB / 447.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.3314, allocations: 0.8001 MB / 448.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.3316, allocations: 43.52 kB / 448.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3318, allocations: 127.3 kB / 448.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3318, allocations: 0 / 448.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.372, allocations: 10.33 MB / 459.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.69, allocations: 12.62 kB / 459.1 MB, free: 10.33 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.307031821008422]