Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 205.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003178/0.003178, allocations: 59.91 kB / 377.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2358, allocations: 53.4 MB / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005035/0.2409, allocations: 3.22 MB / 434.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2428, allocations: 0.9346 MB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.2432, allocations: 7.938 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.2436, allocations: 103.1 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2442, allocations: 190.4 kB / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.2445, allocations: 127.8 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.2455, allocations: 0.6332 MB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.2458, allocations: 131.5 kB / 436.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.2462, allocations: 247.1 kB / 436.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.2466, allocations: 230.8 kB / 436.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.2467, allocations: 52 kB / 437 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.2468, allocations: 56 kB / 437 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2469, allocations: 123.5 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.2473, allocations: 243 kB / 437.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.2481, allocations: 0.6593 MB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2481, allocations: 3.938 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2481, allocations: 0 / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.2481, allocations: 0 / 438.1 MB, free: 15.47 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001664/0.2498, allocations: 0.7789 MB / 438.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.2498, allocations: 11.98 kB / 438.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.2499, allocations: 83.66 kB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.2501, allocations: 64.61 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/0.2508, allocations: 337.5 kB / 439.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.2509, allocations: 110.7 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.251, allocations: 36.38 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2522, allocations: 0.8433 MB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2523, allocations: 0 / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.2523, allocations: 16 kB / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.2523, allocations: 8 kB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.253, allocations: 279.8 kB / 440.6 MB, free: 12.68 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.002505/0.2555, allocations: 1.039 MB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2567, allocations: 342.1 kB / 442 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.257, allocations: 124.8 kB / 442.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.257, allocations: 7.984 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.2571, allocations: 38.56 kB / 442.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.003e-06/0.2571, allocations: 0 / 442.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001177/0.2583, allocations: 466.8 kB / 442.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002416/0.2585, allocations: 444.9 kB / 443 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.2591, allocations: 450 kB / 443.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.2592, allocations: 37.69 kB / 443.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.2594, allocations: 232.6 kB / 443.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.2595, allocations: 123 kB / 443.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.2597, allocations: 82.11 kB / 443.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2599, allocations: 358.7 kB / 444.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.2602, allocations: 130.3 kB / 444.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.2609, allocations: 0.6556 MB / 445.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.2614, allocations: 277.2 kB / 445.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2614, allocations: 0 / 445.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008285/0.2623, allocations: 454.2 kB / 445.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.2623, allocations: 29.7 kB / 445.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2623, allocations: 4 kB / 445.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.2625, allocations: 61.61 kB / 445.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.2628, allocations: 63.91 kB / 445.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.2656, allocations: 2.738 MB / 448.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.266, allocations: 43.77 kB / 448.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.266, allocations: 15.98 kB / 448.7 MB, free: 3.879 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.0002414/0.2662, allocations: 171 kB / 448.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2664, allocations: 51.67 kB / 449 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2665, allocations: 60.69 kB / 449 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2665, allocations: 4 kB / 449 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2665, allocations: 3.984 kB / 449 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007818/0.2673, allocations: 0.6492 MB / 449.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2689, allocations: 0.7974 MB / 450.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2689, allocations: 0 / 450.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2692, allocations: 71.89 kB / 450.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2692, allocations: 8 kB / 450.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2693, allocations: 4 kB / 450.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2693, allocations: 4 kB / 450.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2693, allocations: 4 kB / 450.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.2702, allocations: 0.5128 MB / 451.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.2704, allocations: 87.58 kB / 451.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.2705, allocations: 8 kB / 451.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.2708, allocations: 19.98 kB / 451.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.2708, allocations: 23.97 kB / 451.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2708, allocations: 12 kB / 451.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003929/0.2712, allocations: 319.1 kB / 451.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2712, allocations: 0 / 451.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.2717, allocations: 131.9 kB / 451.7 MB, free: 0.7773 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.001267/0.273, allocations: 1.077 MB / 452.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.274, allocations: 0.5687 MB / 453.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.274, allocations: 0 / 453.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.2742, allocations: 123.8 kB / 453.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.2749, allocations: 129.8 kB / 453.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.2814, allocations: 4.365 MB / 457.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2816, allocations: 212.5 kB / 458.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.2819, allocations: 72.33 kB / 458.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.2821, allocations: 163.4 kB / 458.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2821, allocations: 0 / 458.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.3359, allocations: 14.38 MB / 472.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.61, allocations: 3.984 kB / 472.7 MB, free: 11.75 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.107276318129152]