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.00132/0.00132, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001486/0.001486, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.002025/0.002025, allocations: 55.91 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2375, allocations: 53.42 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004978/0.2425, allocations: 3.539 MB / 434.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2445, allocations: 0.9851 MB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.2447, allocations: 7.938 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.2451, allocations: 111.1 kB / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.2455, allocations: 190.4 kB / 436 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2458, allocations: 127.7 kB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.2466, allocations: 0.6375 MB / 436.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2468, allocations: 135.3 kB / 436.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.2471, allocations: 247.1 kB / 437.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.2475, allocations: 278.8 kB / 437.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.2476, allocations: 56 kB / 437.5 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.2477, allocations: 56 kB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2478, allocations: 111.6 kB / 437.6 MB, free: 228 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.2481, allocations: 298.6 kB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007357/0.2489, allocations: 0.6425 MB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.2489, allocations: 4 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2489, allocations: 0 / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2489, allocations: 0 / 438.6 MB, free: 15.29 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.001464/0.2503, allocations: 0.7789 MB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2504, allocations: 12.03 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.2505, allocations: 75.72 kB / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2506, allocations: 64.56 kB / 439.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.2513, allocations: 341.5 kB / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2514, allocations: 114.7 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.2515, allocations: 36.31 kB / 440 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.2522, allocations: 470.1 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2522, allocations: 0 / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.2523, allocations: 12 kB / 440.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2523, allocations: 12 kB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005823/0.2529, allocations: 291.8 kB / 440.7 MB, free: 12.96 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.002236/0.2551, allocations: 1.27 MB / 442 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.2563, allocations: 338.1 kB / 442.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.2566, allocations: 132.8 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.2566, allocations: 4 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2566, allocations: 38.56 kB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.2566, allocations: 0 / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001155/0.2578, allocations: 471.6 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002393/0.258, allocations: 441 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.2586, allocations: 454 kB / 443.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.2586, allocations: 33.7 kB / 443.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2588, allocations: 236.7 kB / 444.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.2589, allocations: 119 kB / 444.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2591, allocations: 74.12 kB / 444.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.2592, allocations: 354.7 kB / 444.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.2595, allocations: 112.6 kB / 444.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.2599, allocations: 256 kB / 445 MB, free: 8.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.2604, allocations: 269.3 kB / 445.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2604, allocations: 4 kB / 445.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007839/0.2612, allocations: 420.5 kB / 445.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.2612, allocations: 37.73 kB / 445.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2612, allocations: 0 / 445.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.2614, allocations: 57.62 kB / 445.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.2617, allocations: 59.91 kB / 445.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.2644, allocations: 2.77 MB / 448.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.2647, allocations: 47.77 kB / 448.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.2648, allocations: 12 kB / 448.7 MB, free: 4.453 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.0002313/0.265, allocations: 165.8 kB / 448.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.2651, allocations: 51.72 kB / 448.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2652, allocations: 56.62 kB / 448.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2652, allocations: 0 / 448.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2652, allocations: 4 kB / 448.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007452/0.266, allocations: 0.6456 MB / 449.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2674, allocations: 0.891 MB / 450.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2674, allocations: 0 / 450.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.2677, allocations: 63.91 kB / 450.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.2677, allocations: 7.969 kB / 450.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2678, allocations: 8 kB / 450.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2678, allocations: 0 / 450.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2678, allocations: 0 / 450.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.2686, allocations: 0.5284 MB / 451.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.2688, allocations: 91.58 kB / 451.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.2689, allocations: 8 kB / 451.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.2692, allocations: 15.98 kB / 451.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.2692, allocations: 19.95 kB / 451.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2692, allocations: 8 kB / 451.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.2696, allocations: 319.1 kB / 451.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2696, allocations: 4.062 kB / 451.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.2701, allocations: 135.9 kB / 451.7 MB, free: 1.27 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.001221/0.2713, allocations: 1.065 MB / 452.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009976/0.2723, allocations: 0.5553 MB / 453.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2723, allocations: 0 / 453.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.2726, allocations: 112.4 kB / 453.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.2732, allocations: 137.8 kB / 453.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006472/0.2797, allocations: 4.272 MB / 457.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.2802, allocations: 0.8159 MB / 458.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.2805, allocations: 72.28 kB / 458.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.2808, allocations: 155.4 kB / 458.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2808, allocations: 0 / 458.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/0.3308, allocations: 13.03 MB / 471.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.3, allocations: 10.97 kB / 471.9 MB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.745087957002397]