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.001315/0.001315, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001368/0.001368, allocations: 185.9 kB / 23.7 MB, free: 4.191 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.432/1.432, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001604/0.001604, allocations: 47.92 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2264, allocations: 52.18 MB / 422.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004613/0.231, allocations: 3.208 MB / 425.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2328, allocations: 0.8879 MB / 426.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.2331, allocations: 11.88 kB / 426.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.2334, allocations: 111.1 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.2338, allocations: 190.4 kB / 427 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.2342, allocations: 115.8 kB / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007516/0.2349, allocations: 0.6418 MB / 427.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.2352, allocations: 123.5 kB / 427.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.2355, allocations: 247.1 kB / 428.1 MB, free: 9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.2358, allocations: 238.8 kB / 428.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.2359, allocations: 52 kB / 428.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.236, allocations: 52 kB / 428.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2361, allocations: 127.6 kB / 428.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2363, allocations: 242.9 kB / 428.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.237, allocations: 0.6555 MB / 429.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2371, allocations: 0 / 429.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2371, allocations: 0 / 429.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2371, allocations: 0 / 429.4 MB, free: 7.645 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.00141/0.2385, allocations: 0.775 MB / 430.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2385, allocations: 12.03 kB / 430.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.2386, allocations: 75.72 kB / 430.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2388, allocations: 64.56 kB / 430.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.2394, allocations: 341.5 kB / 430.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.2396, allocations: 114.6 kB / 430.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.2396, allocations: 36.38 kB / 430.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/0.2406, allocations: 0.8395 MB / 431.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.2406, allocations: 0 / 431.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.2407, allocations: 16 kB / 431.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.2407, allocations: 8 kB / 431.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.2413, allocations: 287.8 kB / 432 MB, free: 4.855 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.002113/0.2434, allocations: 1.039 MB / 433 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2445, allocations: 339.3 kB / 433.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.2447, allocations: 124.8 kB / 433.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2448, allocations: 4 kB / 433.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.2448, allocations: 50.5 kB / 433.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.2448, allocations: 0 / 433.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001118/0.2459, allocations: 454.8 kB / 434 MB, free: 2.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.2462, allocations: 445 kB / 434.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.2467, allocations: 457.9 kB / 434.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.2468, allocations: 33.7 kB / 434.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.2469, allocations: 240.6 kB / 435.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2471, allocations: 119 kB / 435.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2472, allocations: 78.02 kB / 435.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2473, allocations: 350.8 kB / 435.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.2476, allocations: 138.3 kB / 435.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.2483, allocations: 0.6478 MB / 436.4 MB, free: 4 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.2488, allocations: 280.6 kB / 436.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2488, allocations: 0 / 436.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008597/0.2497, allocations: 454.9 kB / 437.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.2497, allocations: 36.36 kB / 437.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2497, allocations: 0 / 437.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.2499, allocations: 57.58 kB / 437.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.2502, allocations: 59.95 kB / 437.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.2529, allocations: 2.747 MB / 440.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.2534, allocations: 43.77 kB / 440.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2534, allocations: 12 kB / 440.1 MB, free: 12.06 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.0002638/0.2537, allocations: 166.2 kB / 440.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/0.2537, allocations: 59.8 kB / 440.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.2538, allocations: 52.64 kB / 440.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2538, allocations: 4 kB / 440.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2539, allocations: 0 / 440.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007364/0.2546, allocations: 0.6541 MB / 441 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2559, allocations: 0.7899 MB / 441.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2559, allocations: 0 / 441.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.2563, allocations: 75.89 kB / 441.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.2563, allocations: 4 kB / 441.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.2563, allocations: 7.984 kB / 441.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2563, allocations: 0 / 441.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2563, allocations: 3.938 kB / 441.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.2572, allocations: 0.5287 MB / 442.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.2573, allocations: 83.59 kB / 442.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.2574, allocations: 8 kB / 442.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.2577, allocations: 20.14 kB / 442.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.2578, allocations: 27.89 kB / 442.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2578, allocations: 8 kB / 442.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000377/0.2582, allocations: 319.1 kB / 442.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2582, allocations: 0 / 442.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.2586, allocations: 131.9 kB / 443 MB, free: 8.957 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.001259/0.2599, allocations: 1.073 MB / 444.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000973/0.2608, allocations: 0.5726 MB / 444.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2608, allocations: 0 / 444.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.2611, allocations: 115.9 kB / 444.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.2617, allocations: 137.3 kB / 444.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.2678, allocations: 4.379 MB / 449.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2681, allocations: 220.5 kB / 449.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.2684, allocations: 60.36 kB / 449.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.2686, allocations: 163.4 kB / 449.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of SimCode: time 1.472e-06/0.2686, allocations: 0 / 449.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.3206, allocations: 14.38 MB / 464.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.36, allocations: 6.125 kB / 464.1 MB, free: 3.992 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.831796073820442]