Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 116.8 kB / 17.74 MB, free: 5.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 182.9 kB / 20.68 MB, free: 2.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 246.4 MB, free: 4.316 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 55.91 kB / 357.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09197, allocations: 49.44 MB / 406.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006421/0.09843, allocations: 5.032 MB / 412 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.101, allocations: 1.293 MB / 413.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002935/0.1013, allocations: 11.94 kB / 413.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.1018, allocations: 154.6 kB / 413.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006065/0.1024, allocations: 325.2 kB / 413.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1028, allocations: 231.5 kB / 414 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.1041, allocations: 1.183 MB / 415.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.1046, allocations: 314 kB / 415.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.1051, allocations: 446.5 kB / 415.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.1058, allocations: 0.5135 MB / 416.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1059, allocations: 104 kB / 416.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.1061, allocations: 104 kB / 416.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1064, allocations: 227.2 kB / 416.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.107, allocations: 0.5172 MB / 417.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1083, allocations: 1.206 MB / 418.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1083, allocations: 0 / 418.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1083, allocations: 4 kB / 418.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1084, allocations: 7.938 kB / 418.6 MB, free: 11.74 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.002419/0.1108, allocations: 1.363 MB / 419.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1108, allocations: 8.031 kB / 419.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.111, allocations: 124 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.1112, allocations: 116.3 kB / 420.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1123, allocations: 0.5955 MB / 420.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.1125, allocations: 146.9 kB / 420.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/0.1126, allocations: 63.94 kB / 421 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1142, allocations: 0.8665 MB / 421.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1142, allocations: 0 / 421.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.1143, allocations: 28 kB / 421.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1143, allocations: 16 kB / 421.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.1158, allocations: 0.6063 MB / 422.5 MB, free: 7.574 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.003355/0.1192, allocations: 2.097 MB / 424.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1206, allocations: 0.8461 MB / 425.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008223/0.1215, allocations: 394.5 kB / 425.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.017e-05/0.1215, allocations: 20.64 kB / 425.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1216, allocations: 51.22 kB / 425.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.1216, allocations: 0 / 425.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005226/0.1268, allocations: 1.793 MB / 427.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004498/0.1273, allocations: 0.8234 MB / 428.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.1281, allocations: 0.6371 MB / 429.1 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.1282, allocations: 45.7 kB / 429.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.1285, allocations: 349.2 kB / 429.5 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1665/0.295, allocations: 261.5 kB / 429.8 MB, free: 22.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.2954, allocations: 144.1 kB / 429.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2955, allocations: 392 kB / 430.3 MB, free: 22.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.2962, allocations: 271.2 kB / 430.6 MB, free: 22.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.297, allocations: 0.5532 MB / 431.1 MB, free: 22.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2983, allocations: 0.6803 MB / 431.8 MB, free: 21.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2983, allocations: 2.188 kB / 431.8 MB, free: 21.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002512/0.3008, allocations: 1.095 MB / 432.9 MB, free: 21.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.3008, allocations: 84.41 kB / 433 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3009, allocations: 6.188 kB / 433 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/0.3015, allocations: 231.7 kB / 433.2 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.3021, allocations: 138.8 kB / 433.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/0.3092, allocations: 6.932 MB / 440.3 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.3102, allocations: 104.3 kB / 440.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.3103, allocations: 22.98 kB / 440.4 MB, free: 15.98 MB / 350.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.0003008/0.3106, allocations: 217.6 kB / 440.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3107, allocations: 97.31 kB / 440.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.3109, allocations: 93.83 kB / 440.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3109, allocations: 6.094 kB / 440.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3109, allocations: 1.094 kB / 440.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002403/0.3133, allocations: 1.239 MB / 442 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.3169, allocations: 1.928 MB / 444 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.317, allocations: 0.5625 kB / 444 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.3176, allocations: 144.7 kB / 444.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.3182, allocations: 197.9 kB / 444.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.3182, allocations: 13.34 kB / 444.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/0.3236, allocations: 5.356 MB / 449.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3236, allocations: 0 / 449.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.3268, allocations: 1.399 MB / 451.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.3272, allocations: 243.7 kB / 451.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.3273, allocations: 19.33 kB / 451.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.328, allocations: 51.92 kB / 451.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.3282, allocations: 64.89 kB / 451.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.3282, allocations: 21.88 kB / 451.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005473/0.3288, allocations: 452.7 kB / 451.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3288, allocations: 2.297 kB / 451.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008756/0.3297, allocations: 287.2 kB / 452.2 MB, free: 10.09 MB / 350.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.003305/0.333, allocations: 1.975 MB / 454.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.335, allocations: 1.35 MB / 455.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.335, allocations: 2.469 kB / 455.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3363, allocations: 0.7779 MB / 456.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/0.3373, allocations: 237.5 kB / 456.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.3493, allocations: 7.561 MB / 464.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3497, allocations: 0.9407 MB / 465 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005051/0.3502, allocations: 107.2 kB / 465.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.3505, allocations: 302.6 kB / 465.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3505, allocations: 0.9844 kB / 465.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09731/0.4478, allocations: 25.93 MB / 491.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.59, allocations: 10.19 kB / 491.4 MB, free: 10.86 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.02478490700014]