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.001492/0.001492, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001475/0.001475, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.00168/0.00168, allocations: 51.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3435, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006307/0.3498, allocations: 4.516 MB / 435.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.3529, allocations: 1.289 MB / 436.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.3534, allocations: 11.94 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.354, allocations: 154.6 kB / 437.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007018/0.3547, allocations: 341.2 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.3551, allocations: 231.6 kB / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3565, allocations: 1.172 MB / 438.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.3569, allocations: 218.5 kB / 439 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007026/0.3576, allocations: 466.4 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.3583, allocations: 441.9 kB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.3584, allocations: 104 kB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3586, allocations: 112 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.3588, allocations: 223.2 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.3593, allocations: 454.1 kB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3606, allocations: 1.214 MB / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3606, allocations: 0 / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3606, allocations: 0 / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.3606, allocations: 0 / 442 MB, free: 11.7 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.002586/0.3632, allocations: 1.296 MB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3632, allocations: 8.031 kB / 443.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3634, allocations: 119.9 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3636, allocations: 112.3 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3646, allocations: 0.5312 MB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.3649, allocations: 297.2 kB / 444.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.365, allocations: 63.89 kB / 444.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.3669, allocations: 1.632 MB / 446 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.3669, allocations: 0 / 446 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.367, allocations: 31.98 kB / 446 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.367, allocations: 12 kB / 446.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.3684, allocations: 0.6063 MB / 446.7 MB, free: 6.578 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.003313/0.3717, allocations: 1.635 MB / 448.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.373, allocations: 0.5884 MB / 448.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.3737, allocations: 354.6 kB / 449.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.907e-05/0.3738, allocations: 16.64 kB / 449.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.3738, allocations: 51.16 kB / 449.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.378e-06/0.3738, allocations: 4 kB / 449.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004908/0.3788, allocations: 1.484 MB / 450.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000505/0.3793, allocations: 0.8234 MB / 451.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.3801, allocations: 0.6371 MB / 452.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/0.3802, allocations: 41.7 kB / 452.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.3805, allocations: 345.3 kB / 452.6 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.3808, allocations: 273.6 kB / 452.9 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.381, allocations: 138.7 kB / 453 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.3812, allocations: 390.8 kB / 453.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.3819, allocations: 358.9 kB / 453.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.3834, allocations: 1.383 MB / 455.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.3847, allocations: 0.6817 MB / 455.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.3848, allocations: 0 / 455.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002737/0.3875, allocations: 1.174 MB / 457 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.3876, allocations: 93.03 kB / 457.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3876, allocations: 0 / 457.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/0.3883, allocations: 235.2 kB / 457.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.3889, allocations: 135.8 kB / 457.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00798/0.3969, allocations: 6.468 MB / 463.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/0.3977, allocations: 103.5 kB / 464 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.3978, allocations: 27.98 kB / 464 MB, free: 3.98 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.0003492/0.3981, allocations: 220 kB / 464.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3983, allocations: 95.42 kB / 464.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3985, allocations: 87.34 kB / 464.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3985, allocations: 8 kB / 464.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3985, allocations: 0 / 464.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002483/0.401, allocations: 1.233 MB / 465.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.4047, allocations: 1.74 MB / 467.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4047, allocations: 0 / 467.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.4054, allocations: 139.8 kB / 467.6 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/0.4059, allocations: 198.4 kB / 467.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.4059, allocations: 19.92 kB / 467.8 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006529/0.4125, allocations: 5.008 MB / 472.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4125, allocations: 0 / 472.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.4158, allocations: 1.392 MB / 474.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.4161, allocations: 171.2 kB / 474.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4163, allocations: 16 kB / 474.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.4169, allocations: 47.95 kB / 474.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.417, allocations: 68.47 kB / 474.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.4171, allocations: 23.98 kB / 474.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005643/0.4177, allocations: 462.9 kB / 474.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4177, allocations: 0 / 474.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.4185, allocations: 283.8 kB / 475.2 MB, free: 8.246 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.003524/0.422, allocations: 1.963 MB / 477.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.4243, allocations: 1.4 MB / 478.6 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4243, allocations: 0 / 478.6 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4257, allocations: 0.738 MB / 479.3 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.4266, allocations: 243.1 kB / 479.6 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4396, allocations: 7.843 MB / 487.4 MB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.44, allocations: 358.1 kB / 487.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.4404, allocations: 102.4 kB / 487.9 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.4408, allocations: 303.3 kB / 488.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4408, allocations: 0 / 488.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0957/0.5365, allocations: 28.26 MB / 0.5043 GB, free: 15.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.31, allocations: 5.797 kB / 0.5043 GB, free: 15.07 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.968686738982797]