Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001794/0.001794, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00206/0.00206, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.471/1.471, allocations: 230.4 MB / 254 MB, free: 15.02 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.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1079, allocations: 53.38 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2099/0.3178, allocations: 5.631 MB / 432 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.3206, allocations: 1.463 MB / 433.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.321, allocations: 17.59 kB / 433.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.3215, allocations: 196.8 kB / 433.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.3222, allocations: 397.2 kB / 434 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.3227, allocations: 258.8 kB / 434.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3243, allocations: 1.359 MB / 435.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.3247, allocations: 274 kB / 435.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.3255, allocations: 0.5344 MB / 436.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.3262, allocations: 0.582 MB / 437 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3264, allocations: 117.7 kB / 437.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.3267, allocations: 120.8 kB / 437.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.3269, allocations: 254 kB / 437.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.3274, allocations: 0.6137 MB / 438.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.3289, allocations: 1.409 MB / 439.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3289, allocations: 0 / 439.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3289, allocations: 0 / 439.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.3289, allocations: 1.188 kB / 439.5 MB, free: 5.391 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002709/0.3316, allocations: 1.513 MB / 441.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3317, allocations: 9.656 kB / 441.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.3319, allocations: 131.5 kB / 441.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.3321, allocations: 137.7 kB / 441.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.333, allocations: 0.646 MB / 442 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3332, allocations: 153 kB / 442.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3333, allocations: 71.62 kB / 442.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3349, allocations: 0.9834 MB / 443.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3349, allocations: 0.5312 kB / 443.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.335, allocations: 33.94 kB / 443.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.335, allocations: 17.19 kB / 443.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3363, allocations: 0.6286 MB / 443.9 MB, free: 2.738 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.004055/0.3404, allocations: 2.654 MB / 446.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.3429, allocations: 0.8262 MB / 447.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.3436, allocations: 320.2 kB / 447.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.3436, allocations: 15.98 kB / 447.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3437, allocations: 50.62 kB / 447.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.3437, allocations: 0 / 447.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002779/0.3464, allocations: 1.401 MB / 449.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005198/0.347, allocations: 0.9499 MB / 450.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.3482, allocations: 0.7855 MB / 450.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3483, allocations: 45.61 kB / 450.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.3487, allocations: 428.8 kB / 451.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.349, allocations: 262.4 kB / 451.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.3493, allocations: 159.7 kB / 451.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3494, allocations: 337.2 kB / 452.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.35, allocations: 259.7 kB / 452.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3511, allocations: 0.5808 MB / 452.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3524, allocations: 0.6671 MB / 453.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3524, allocations: 1.859 kB / 453.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002118/0.3545, allocations: 0.948 MB / 454.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.879e-05/0.3546, allocations: 90 kB / 454.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3546, allocations: 1.344 kB / 454.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.355, allocations: 133.8 kB / 454.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.3557, allocations: 146.3 kB / 454.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/0.3622, allocations: 7.329 MB / 462.2 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3635, allocations: 105 kB / 462.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.3636, allocations: 29.34 kB / 462.3 MB, free: 4.309 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005689/0.3641, allocations: 236 kB / 462.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.3644, allocations: 108.8 kB / 462.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.3646, allocations: 100.8 kB / 462.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3646, allocations: 6.688 kB / 462.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.3646, allocations: 3.156 kB / 462.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/0.3663, allocations: 0.9754 MB / 463.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.3696, allocations: 1.748 MB / 465.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3696, allocations: 0 / 465.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.3704, allocations: 159.8 kB / 465.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.3706, allocations: 28.59 kB / 465.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.3706, allocations: 10.72 kB / 465.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.3718, allocations: 1.408 MB / 467.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3718, allocations: 0 / 467.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.374, allocations: 1.081 MB / 468.2 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.3745, allocations: 265.3 kB / 468.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.3747, allocations: 20 kB / 468.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.3753, allocations: 42.72 kB / 468.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3755, allocations: 41.72 kB / 468.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.3755, allocations: 24.89 kB / 468.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007711/0.3763, allocations: 0.5466 MB / 469.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3763, allocations: 3.938 kB / 469.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009404/0.3772, allocations: 297.5 kB / 469.4 MB, free: 15.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00254/0.3797, allocations: 1.657 MB / 471.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.3822, allocations: 1.36 MB / 472.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.3822, allocations: 2.188 kB / 472.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007398/0.3829, allocations: 403.1 kB / 472.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.3843, allocations: 283.7 kB / 473.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.3972, allocations: 7.844 MB / 480.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.3979, allocations: 0.9836 MB / 481.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007866/0.3987, allocations: 127.5 kB / 482.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.3993, allocations: 355.3 kB / 482.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3993, allocations: 0 / 482.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/0.4729, allocations: 26.44 MB / 0.4969 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.43, allocations: 7.938 kB / 0.4969 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.957842282950878]