Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 215.3 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 51.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2519, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00505/0.257, allocations: 3.708 MB / 434.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2587, allocations: 1.024 MB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2588, allocations: 11.94 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.2592, allocations: 107.1 kB / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.2596, allocations: 202.3 kB / 436.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2598, allocations: 131.8 kB / 436.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000789/0.2606, allocations: 0.6886 MB / 437 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.2609, allocations: 130.9 kB / 437.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.2612, allocations: 263.1 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.2615, allocations: 294.7 kB / 437.7 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.641e-05/0.2616, allocations: 56 kB / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2617, allocations: 60 kB / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2618, allocations: 123.6 kB / 437.9 MB, free: 36 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.2621, allocations: 314.5 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.2629, allocations: 0.6929 MB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2629, allocations: 4 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2629, allocations: 4 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.2629, allocations: 0 / 438.9 MB, free: 15.03 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001513/0.2644, allocations: 0.8294 MB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2644, allocations: 12.03 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.2646, allocations: 87.25 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2647, allocations: 64.56 kB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.2654, allocations: 376.9 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.2655, allocations: 114.3 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.2656, allocations: 36.38 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.2665, allocations: 496.8 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2665, allocations: 0 / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.2665, allocations: 16 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2665, allocations: 8 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.2674, allocations: 338.4 kB / 441.3 MB, free: 12.54 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.002141/0.2695, allocations: 1.264 MB / 442.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.2702, allocations: 290.2 kB / 442.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.2706, allocations: 164.8 kB / 443 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.2706, allocations: 15.97 kB / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.2707, allocations: 38.56 kB / 443 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.2707, allocations: 0 / 443 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001536/0.2722, allocations: 0.5634 MB / 443.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000247/0.2724, allocations: 452.9 kB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.273, allocations: 461.9 kB / 444.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.273, allocations: 33.7 kB / 444.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.2732, allocations: 244.6 kB / 444.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2733, allocations: 122.9 kB / 444.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2735, allocations: 81.69 kB / 444.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2736, allocations: 354.8 kB / 445.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.274, allocations: 139.7 kB / 445.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.2745, allocations: 282.8 kB / 445.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.2752, allocations: 341.2 kB / 446 MB, free: 7.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2752, allocations: 0 / 446 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009762/0.2762, allocations: 490 kB / 446.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.2762, allocations: 37.69 kB / 446.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2762, allocations: 0 / 446.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.2764, allocations: 45.7 kB / 446.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.2768, allocations: 83.88 kB / 446.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.2794, allocations: 2.77 MB / 449.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.2798, allocations: 59.8 kB / 449.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.2798, allocations: 12 kB / 449.5 MB, free: 3.688 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 (37): * Single equations (assignments): 34 * 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.0002319/0.2801, allocations: 173.7 kB / 449.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.2802, allocations: 51.72 kB / 449.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2803, allocations: 52.75 kB / 449.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2803, allocations: 0 / 449.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2803, allocations: 11.94 kB / 449.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.2813, allocations: 0.7271 MB / 450.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.283, allocations: 0.9807 MB / 451.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.283, allocations: 7.875 kB / 451.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.2834, allocations: 87.81 kB / 451.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2834, allocations: 4 kB / 451.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2835, allocations: 4 kB / 451.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2835, allocations: 3.984 kB / 451.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2835, allocations: 4 kB / 451.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2847, allocations: 0.6495 MB / 452.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.2849, allocations: 103.6 kB / 452.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.2849, allocations: 8 kB / 452.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.2853, allocations: 23.97 kB / 452.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.2854, allocations: 27.89 kB / 452.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2854, allocations: 12 kB / 452.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.2858, allocations: 327.1 kB / 452.8 MB, free: 272 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2858, allocations: 0 / 452.8 MB, free: 272 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.2862, allocations: 139.8 kB / 452.9 MB, free: 132 kB / 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 (35): * Single equations (assignments): 35 * 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.001608/0.2878, allocations: 1.205 MB / 454.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.289, allocations: 0.6216 MB / 454.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.289, allocations: 4.125 kB / 454.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.2894, allocations: 163.8 kB / 454.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.2901, allocations: 149.2 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.2966, allocations: 4.52 MB / 459.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.2971, allocations: 0.8314 MB / 460.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.2973, allocations: 68.28 kB / 460.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.2976, allocations: 171.4 kB / 460.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2976, allocations: 4 kB / 460.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.3446, allocations: 13.97 MB / 474.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.59, allocations: 18.36 kB / 474.6 MB, free: 10.5 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.944343263003248]