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.001578/0.001578, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00209/0.00209, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001576/0.001576, allocations: 43.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2787, 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.004309/0.283, allocations: 2.692 MB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.2854, allocations: 1.325 MB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.2856, allocations: 7.938 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.2862, allocations: 183.1 kB / 435.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.2868, allocations: 246.6 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.2871, allocations: 147.6 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.2877, allocations: 461.9 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2878, allocations: 73.95 kB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.2881, allocations: 183.3 kB / 436.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.2883, allocations: 223.1 kB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.2884, allocations: 28 kB / 436.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.2885, allocations: 71.98 kB / 436.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2887, allocations: 91.61 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.2888, allocations: 163.2 kB / 436.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.2895, allocations: 494 kB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2895, allocations: 8 kB / 437.4 MB, free: 276 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2895, allocations: 0 / 437.4 MB, free: 276 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.2895, allocations: 0 / 437.4 MB, free: 276 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.001154/0.2906, allocations: 0.6405 MB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2907, allocations: 8.031 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.2908, allocations: 67.16 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.2909, allocations: 48.66 kB / 438.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.2914, allocations: 289 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.2915, allocations: 20.81 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2915, allocations: 19.94 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.2922, allocations: 0.5995 MB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2922, allocations: 0 / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.2923, allocations: 12 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2923, allocations: 4 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.2926, allocations: 153.7 kB / 439.3 MB, free: 14.24 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.001358/0.2939, allocations: 0.7033 MB / 440 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.2943, allocations: 177.6 kB / 440.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.2944, allocations: 68.83 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2945, allocations: 7.938 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.2948, allocations: 180.4 kB / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.2948, allocations: 0 / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008235/0.2956, allocations: 337.7 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.2958, allocations: 320.4 kB / 441 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.2963, allocations: 445.6 kB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2963, allocations: 29.7 kB / 441.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.2965, allocations: 212.5 kB / 441.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.2966, allocations: 83.2 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2967, allocations: 61.69 kB / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2968, allocations: 350.8 kB / 442.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.297, allocations: 63.97 kB / 442.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.2974, allocations: 441.7 kB / 442.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.2977, allocations: 171.3 kB / 442.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2977, allocations: 96 / 442.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004837/0.2982, allocations: 286 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2982, allocations: 4 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2982, allocations: 4 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.2983, allocations: 40.92 kB / 443.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2985, allocations: 51.92 kB / 443.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3001, allocations: 1.455 MB / 444.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.3003, allocations: 23.84 kB / 444.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3003, allocations: 16.03 kB / 444.7 MB, free: 8.332 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.0002377/0.3006, allocations: 173.7 kB / 444.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.3006, allocations: 47.66 kB / 444.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.3012, allocations: 266 kB / 445.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3012, allocations: 4 kB / 445.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3012, allocations: 0 / 445.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005579/0.3017, allocations: 0.5827 MB / 445.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.3027, allocations: 0.6552 MB / 446.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3027, allocations: 0 / 446.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3029, allocations: 44.22 kB / 446.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3029, allocations: 4 kB / 446.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.3029, allocations: 7.984 kB / 446.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3029, allocations: 4 kB / 446.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3029, allocations: 0 / 446.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.3035, allocations: 422.9 kB / 446.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.3036, allocations: 59.77 kB / 447 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.3037, allocations: 4 kB / 447 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3039, allocations: 15.98 kB / 447 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3039, allocations: 11.97 kB / 447 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.304, allocations: 16.06 kB / 447 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.3043, allocations: 319.1 kB / 447.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3043, allocations: 3.938 kB / 447.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.3048, allocations: 103.8 kB / 447.4 MB, free: 5.434 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.002468/0.3072, allocations: 1.295 MB / 448.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.3078, allocations: 306.6 kB / 449 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3078, allocations: 0 / 449 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.308, allocations: 79.91 kB / 449.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.3086, allocations: 107.9 kB / 449.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.3132, allocations: 3.417 MB / 452.6 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.3134, allocations: 199.5 kB / 452.8 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.3135, allocations: 46.95 kB / 452.9 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3137, allocations: 123.5 kB / 453 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3137, allocations: 0 / 453 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.3584, allocations: 11.67 MB / 464.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.26, allocations: 3.984 kB / 464.7 MB, free: 4.418 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.933715066028526]