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.001262/0.001262, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008773/0.0008773, allocations: 156.9 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8993/0.8993, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.589e-05, allocations: 3.688 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003128/0.003154, allocations: 3.22 MB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004388, allocations: 0.9306 MB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.004548, allocations: 7.938 kB / 328.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.004792, allocations: 107.1 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.005065, allocations: 198.3 kB / 329 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.005259, allocations: 127.7 kB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.005844, allocations: 0.665 MB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.006025, allocations: 123.5 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.006289, allocations: 371.2 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.00648, allocations: 203.4 kB / 330.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.006531, allocations: 52 kB / 330.5 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.006579, allocations: 56 kB / 330.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.00664, allocations: 119.6 kB / 330.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.006769, allocations: 203.6 kB / 330.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.007193, allocations: 0.6698 MB / 331.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007196, allocations: 0 / 331.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007197, allocations: 0 / 331.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.007204, allocations: 0 / 331.5 MB, free: 8.863 MB / 298.7 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.001329/0.008533, allocations: 0.775 MB / 332.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.008575, allocations: 11.98 kB / 332.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.008677, allocations: 87.59 kB / 332.4 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.008772, allocations: 72.5 kB / 332.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.009275, allocations: 336.7 kB / 332.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.009376, allocations: 110.7 kB / 332.9 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.009419, allocations: 40.36 kB / 332.9 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.01001, allocations: 0.8323 MB / 333.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01003, allocations: 192 / 333.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.01006, allocations: 19.94 kB / 333.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.01007, allocations: 8 kB / 333.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.01043, allocations: 287.8 kB / 334.1 MB, free: 6.059 MB / 298.7 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.001362/0.01179, allocations: 1.028 MB / 335.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.01246, allocations: 355 kB / 335.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.01262, allocations: 127.8 kB / 335.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01265, allocations: 8 kB / 335.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.01267, allocations: 42.55 kB / 335.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.01267, allocations: 0 / 335.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007205/0.01339, allocations: 450.9 kB / 336.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.01353, allocations: 445 kB / 336.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.0139, allocations: 457.8 kB / 337 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.01393, allocations: 37.7 kB / 337 MB, free: 2.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01405, allocations: 240.6 kB / 337.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.01411, allocations: 115 kB / 337.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.0142, allocations: 69.98 kB / 337.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.01429, allocations: 358.8 kB / 337.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01446, allocations: 130.3 kB / 337.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.01484, allocations: 0.6595 MB / 338.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.01515, allocations: 269.3 kB / 338.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.01515, allocations: 8 kB / 338.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005393/0.01569, allocations: 446.3 kB / 339.3 MB, free: 480 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.01573, allocations: 37.69 kB / 339.3 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01574, allocations: 4 kB / 339.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.01588, allocations: 49.64 kB / 339.3 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.01605, allocations: 67.95 kB / 339.4 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.01784, allocations: 2.754 MB / 342.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.01806, allocations: 39.81 kB / 342.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.01808, allocations: 15.98 kB / 342.2 MB, free: 13.27 MB / 314.7 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.0001591/0.01824, allocations: 171 kB / 342.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.01829, allocations: 51.67 kB / 342.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.01835, allocations: 52.69 kB / 342.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01835, allocations: 4 kB / 342.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01836, allocations: 4.031 kB / 342.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004417/0.0188, allocations: 0.6569 MB / 343.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.01965, allocations: 0.786 MB / 343.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01965, allocations: 4 kB / 343.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.01984, allocations: 67.84 kB / 344 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01985, allocations: 7.938 kB / 344 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.01986, allocations: 7.984 kB / 344 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01987, allocations: 4 kB / 344 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01987, allocations: 4 kB / 344 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.0207, allocations: 0.5212 MB / 344.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.02083, allocations: 91.5 kB / 344.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.02087, allocations: 12.06 kB / 344.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.02102, allocations: 15.98 kB / 344.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.02105, allocations: 19.97 kB / 344.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.02107, allocations: 11.98 kB / 344.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.02131, allocations: 319.1 kB / 345 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02131, allocations: 0 / 345 MB, free: 10.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.02163, allocations: 131.9 kB / 345.1 MB, free: 10.16 MB / 314.7 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.0007194/0.02235, allocations: 1.073 MB / 346.2 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006503/0.023, allocations: 0.5764 MB / 346.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.02301, allocations: 0 / 346.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.02314, allocations: 111.9 kB / 346.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.0236, allocations: 138 kB / 347 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.02774, allocations: 4.33 MB / 351.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.02788, allocations: 216.3 kB / 351.6 MB, free: 3.492 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.02838, allocations: 68.34 kB / 351.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.02855, allocations: 156.5 kB / 351.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02855, allocations: 3.938 kB / 351.8 MB, free: 3.266 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.06087, allocations: 14.47 MB / 366.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.129, allocations: 7.031 kB / 366.3 MB, free: 5.066 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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: 9.881662853062153]