Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.00139/0.00139, allocations: 128.4 kB / 17.79 MB, free: 5.242 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.001417/0.001417, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.444/1.444, allocations: 230.4 MB / 254 MB, free: 15.05 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.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.1006, allocations: 53.37 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2135/0.3141, allocations: 5.064 MB / 431.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.317, allocations: 1.336 MB / 432.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008326/0.3179, allocations: 14 kB / 432.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.3185, allocations: 157.8 kB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3196, allocations: 331.7 kB / 433.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.3202, allocations: 232.2 kB / 433.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3216, allocations: 1.179 MB / 434.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.322, allocations: 222.4 kB / 434.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.3226, allocations: 470.1 kB / 435.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.3232, allocations: 0.5091 MB / 435.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3234, allocations: 103.1 kB / 435.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.3236, allocations: 105.6 kB / 436 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3238, allocations: 221.3 kB / 436.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.3243, allocations: 0.5195 MB / 436.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3258, allocations: 1.211 MB / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3258, allocations: 0.75 kB / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3258, allocations: 0 / 438 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.3258, allocations: 0 / 438 MB, free: 5.906 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.002535/0.3284, allocations: 1.365 MB / 439.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3284, allocations: 9.812 kB / 439.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.3286, allocations: 122.2 kB / 439.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.3288, allocations: 115.3 kB / 439.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009841/0.3298, allocations: 0.5979 MB / 440.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.33, allocations: 142.7 kB / 440.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.853e-05/0.3301, allocations: 60.62 kB / 440.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.3316, allocations: 0.8676 MB / 441.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3316, allocations: 0 / 441.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.3316, allocations: 29.03 kB / 441.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.3317, allocations: 14.7 kB / 441.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.3332, allocations: 0.6076 MB / 441.9 MB, free: 3.516 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.003724/0.3369, allocations: 2.09 MB / 444 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3382, allocations: 0.8093 MB / 444.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000894/0.3391, allocations: 357.5 kB / 445.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.227e-05/0.3392, allocations: 12.97 kB / 445.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3392, allocations: 49.5 kB / 445.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.716e-06/0.3392, allocations: 4 kB / 445.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005257/0.3445, allocations: 1.798 MB / 447 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.3447, allocations: 0.8222 MB / 447.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009332/0.3456, allocations: 0.6343 MB / 448.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3457, allocations: 44.45 kB / 448.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.3461, allocations: 345.8 kB / 448.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.3464, allocations: 270.5 kB / 449.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3467, allocations: 145 kB / 449.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.3469, allocations: 383.7 kB / 449.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.3477, allocations: 272.7 kB / 449.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3487, allocations: 0.5501 MB / 450.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.3502, allocations: 0.6816 MB / 451.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3502, allocations: 1.219 kB / 451.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002893/0.3531, allocations: 1.096 MB / 452.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.3531, allocations: 85.53 kB / 452.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3532, allocations: 1.938 kB / 452.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.3539, allocations: 240.2 kB / 452.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.3546, allocations: 140.4 kB / 452.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008865/0.3634, allocations: 6.927 MB / 459.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3647, allocations: 103.2 kB / 459.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.3647, allocations: 23.09 kB / 459.7 MB, free: 6.68 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.0004371/0.3652, allocations: 212.3 kB / 459.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.3654, allocations: 96.53 kB / 460 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.3656, allocations: 94.56 kB / 460.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3656, allocations: 7.094 kB / 460.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3656, allocations: 0 / 460.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002749/0.3683, allocations: 1.231 MB / 461.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.3727, allocations: 1.935 MB / 463.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3727, allocations: 0.8125 kB / 463.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.3734, allocations: 142.6 kB / 463.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005794/0.374, allocations: 200 kB / 463.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/0.374, allocations: 15.5 kB / 463.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/0.3812, allocations: 5.348 MB / 469 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3812, allocations: 3.984 kB / 469 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/0.3848, allocations: 1.392 MB / 470.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006304/0.3855, allocations: 237.4 kB / 470.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.3856, allocations: 18.5 kB / 470.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.3863, allocations: 52.41 kB / 470.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.3865, allocations: 58.7 kB / 470.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3865, allocations: 26.34 kB / 470.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006303/0.3872, allocations: 456.7 kB / 471.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 0 / 471.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009923/0.3882, allocations: 292.5 kB / 471.5 MB, free: 13.77 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.003769/0.3919, allocations: 1.972 MB / 473.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.3944, allocations: 1.313 MB / 474.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3944, allocations: 1.391 kB / 474.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.3958, allocations: 0.7497 MB / 475.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3969, allocations: 236.5 kB / 475.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.4105, allocations: 7.543 MB / 483.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.4112, allocations: 0.9518 MB / 484.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.4117, allocations: 98.44 kB / 484.4 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.4121, allocations: 303.3 kB / 484.7 MB, free: 3.371 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4121, allocations: 0 / 484.7 MB, free: 3.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07259/0.4847, allocations: 26.08 MB / 0.4988 GB, free: 9.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.84, allocations: 8.766 kB / 0.4988 GB, free: 9.637 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.284630374982953]