Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001635/0.001635, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001936/0.001936, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.TwoMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3144, allocations: 53.35 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006441/0.3209, allocations: 4.532 MB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.3234, allocations: 1.285 MB / 436.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.3238, allocations: 11.94 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.3242, allocations: 154.6 kB / 437.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006891/0.3249, allocations: 337.2 kB / 437.4 MB, free: 340 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.3253, allocations: 231.6 kB / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.3267, allocations: 1.178 MB / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.3271, allocations: 222.6 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.3277, allocations: 470.3 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.3283, allocations: 0.5096 MB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.3284, allocations: 104 kB / 440.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.3286, allocations: 108 kB / 440.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.3288, allocations: 219.2 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.3293, allocations: 450.1 kB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.3306, allocations: 1.222 MB / 442.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3306, allocations: 0 / 442.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3306, allocations: 0 / 442.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3306, allocations: 0 / 442.1 MB, free: 11.63 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002597/0.3332, allocations: 1.292 MB / 443.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3332, allocations: 16.02 kB / 443.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.3334, allocations: 115.9 kB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.3336, allocations: 116.3 kB / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.3348, allocations: 0.5273 MB / 444.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.3351, allocations: 301.2 kB / 444.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3352, allocations: 67.89 kB / 444.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3372, allocations: 1.628 MB / 446.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3373, allocations: 0 / 446.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.3373, allocations: 28 kB / 446.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.3373, allocations: 16 kB / 446.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.3388, allocations: 0.6063 MB / 446.8 MB, free: 6.5 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.003404/0.3422, allocations: 1.635 MB / 448.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3435, allocations: 0.5806 MB / 449 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.3443, allocations: 358.6 kB / 449.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.414e-05/0.3444, allocations: 8.656 kB / 449.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.3444, allocations: 59.09 kB / 449.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/0.3444, allocations: 0 / 449.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004949/0.3494, allocations: 1.476 MB / 450.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004797/0.3499, allocations: 0.8234 MB / 451.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.3507, allocations: 0.6409 MB / 452.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.3508, allocations: 45.7 kB / 452.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.3511, allocations: 345.3 kB / 452.7 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.3514, allocations: 273.8 kB / 453 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.3516, allocations: 146.7 kB / 453.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3518, allocations: 382.8 kB / 453.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/0.3526, allocations: 355 kB / 453.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3541, allocations: 1.387 MB / 455.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.3555, allocations: 0.6856 MB / 455.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3555, allocations: 0 / 455.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002746/0.3582, allocations: 1.17 MB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.3583, allocations: 89.11 kB / 457.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3583, allocations: 7.922 kB / 457.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.359, allocations: 231.2 kB / 457.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.3597, allocations: 139.8 kB / 457.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008583/0.3683, allocations: 6.472 MB / 464 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.3693, allocations: 103.7 kB / 464.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.3694, allocations: 20 kB / 464.1 MB, free: 3.906 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000525/0.3699, allocations: 217.7 kB / 464.3 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.3702, allocations: 95.42 kB / 464.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3703, allocations: 91.33 kB / 464.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3704, allocations: 8 kB / 464.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.3704, allocations: 0 / 464.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002677/0.373, allocations: 1.233 MB / 465.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.3769, allocations: 1.732 MB / 467.5 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.3769, allocations: 3.984 kB / 467.5 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.3776, allocations: 147.7 kB / 467.6 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/0.3782, allocations: 194.5 kB / 467.8 MB, free: 0 / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.3783, allocations: 16.02 kB / 467.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/0.3851, allocations: 5.012 MB / 472.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3851, allocations: 0 / 472.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.3886, allocations: 1.384 MB / 474.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.3891, allocations: 171.2 kB / 474.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.3892, allocations: 20 kB / 474.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.3899, allocations: 47.95 kB / 474.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.3901, allocations: 68.66 kB / 474.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3901, allocations: 20 kB / 474.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006822/0.3908, allocations: 467 kB / 475 MB, free: 8.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3908, allocations: 3.938 kB / 475 MB, free: 8.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009415/0.3917, allocations: 279.8 kB / 475.3 MB, free: 8.172 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003706/0.3954, allocations: 1.967 MB / 477.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.3979, allocations: 1.404 MB / 478.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.3979, allocations: 4.125 kB / 478.7 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.3994, allocations: 0.7378 MB / 479.4 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4005, allocations: 231 kB / 479.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.4144, allocations: 7.851 MB / 487.5 MB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.4149, allocations: 350.2 kB / 487.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.4154, allocations: 102.4 kB / 487.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.4158, allocations: 303.3 kB / 488.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4158, allocations: 0 / 488.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07952/0.4953, allocations: 28.47 MB / 0.5046 GB, free: 14.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.03, allocations: 2.5 kB / 0.5046 GB, free: 14.79 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_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_TwoMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.69762915899628]