Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001289/0.001289, allocations: 109.5 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.001327/0.001327, allocations: 181.9 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.387/1.387, 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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 51.92 kB / 370.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2408, allocations: 52.18 MB / 422.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004895/0.2457, allocations: 3.538 MB / 426.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2474, allocations: 0.9462 MB / 427.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.2476, allocations: 7.938 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.2479, allocations: 119.1 kB / 427.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.2482, allocations: 190.4 kB / 427.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.2485, allocations: 119.8 kB / 427.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007305/0.2493, allocations: 0.6379 MB / 428.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.2495, allocations: 131.3 kB / 428.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.2498, allocations: 247.1 kB / 428.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.2501, allocations: 278.8 kB / 428.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.2502, allocations: 52 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.2503, allocations: 52 kB / 428.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2504, allocations: 123.6 kB / 429 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.2507, allocations: 290.7 kB / 429.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.2514, allocations: 0.6464 MB / 430 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2514, allocations: 0 / 430 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2514, allocations: 0 / 430 MB, free: 7.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2515, allocations: 4 kB / 430 MB, free: 7.184 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001471/0.2529, allocations: 0.7789 MB / 430.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.253, allocations: 8.031 kB / 430.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.2531, allocations: 83.7 kB / 430.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.2532, allocations: 64.56 kB / 430.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.2538, allocations: 341.5 kB / 431.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.254, allocations: 110.7 kB / 431.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.254, allocations: 40.33 kB / 431.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.2548, allocations: 474.1 kB / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2548, allocations: 0 / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.2549, allocations: 12 kB / 431.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2549, allocations: 19.88 kB / 431.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.2555, allocations: 287.8 kB / 432.2 MB, free: 4.844 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.002199/0.2577, allocations: 1.266 MB / 433.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2588, allocations: 338.5 kB / 433.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.2591, allocations: 128.8 kB / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.2591, allocations: 11.97 kB / 433.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.2592, allocations: 42.5 kB / 433.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.2592, allocations: 0 / 433.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001152/0.2603, allocations: 460.2 kB / 434.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/0.2606, allocations: 448.9 kB / 434.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.2611, allocations: 457.9 kB / 435.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.2611, allocations: 33.7 kB / 435.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.2613, allocations: 228.7 kB / 435.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2615, allocations: 115 kB / 435.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2616, allocations: 81.97 kB / 435.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2618, allocations: 354.8 kB / 436.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.262, allocations: 112.5 kB / 436.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.2624, allocations: 255.4 kB / 436.4 MB, free: 276 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.2629, allocations: 276.6 kB / 436.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2629, allocations: 0 / 436.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007392/0.2637, allocations: 413.2 kB / 437.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.2637, allocations: 41.72 kB / 437.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2637, allocations: 0 / 437.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.2639, allocations: 53.58 kB / 437.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.2642, allocations: 67.89 kB / 437.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.267, allocations: 2.767 MB / 440 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.2673, allocations: 39.81 kB / 440.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.2674, allocations: 15.98 kB / 440.1 MB, free: 12.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.2676, allocations: 169.8 kB / 440.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.2677, allocations: 51.67 kB / 440.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.789e-05/0.2678, allocations: 52.64 kB / 440.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2678, allocations: 7.984 kB / 440.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2678, allocations: 0 / 440.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007531/0.2685, allocations: 0.6534 MB / 441 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.2699, allocations: 0.8753 MB / 441.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2699, allocations: 0 / 441.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.2703, allocations: 63.95 kB / 441.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2703, allocations: 0 / 441.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.2703, allocations: 8 kB / 441.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2703, allocations: 4.078 kB / 441.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2703, allocations: 7.875 kB / 442 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008669/0.2712, allocations: 0.5253 MB / 442.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2714, allocations: 83.62 kB / 442.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.2714, allocations: 11.94 kB / 442.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.2717, allocations: 15.98 kB / 442.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.2718, allocations: 23.95 kB / 442.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2718, allocations: 8 kB / 442.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.2722, allocations: 327.2 kB / 442.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2722, allocations: 0 / 442.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2726, allocations: 135.8 kB / 443.1 MB, free: 9.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001177/0.2738, allocations: 1.064 MB / 444.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.2747, allocations: 0.5514 MB / 444.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2747, allocations: 0 / 444.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.275, allocations: 116.4 kB / 444.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.2756, allocations: 141.9 kB / 444.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/0.2818, allocations: 4.256 MB / 449.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.2823, allocations: 0.8159 MB / 450 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.2825, allocations: 68.34 kB / 450.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.2827, allocations: 159.4 kB / 450.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2827, allocations: 0 / 450.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04721/0.33, allocations: 13.05 MB / 463.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.71, allocations: 8.062 kB / 463.3 MB, free: 5.02 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.092621126997983]