Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001876/0.001876, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002155/0.002155, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 53.64 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2861, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005357/0.2914, allocations: 4.506 MB / 400.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.2941, allocations: 1.298 MB / 402.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.2944, allocations: 15.84 kB / 402.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.2949, allocations: 159.8 kB / 402.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.2955, allocations: 339.8 kB / 402.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.296, allocations: 225.4 kB / 402.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.2973, allocations: 1.172 MB / 404 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.2976, allocations: 211.6 kB / 404.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.2981, allocations: 464.6 kB / 404.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005413/0.2987, allocations: 446.2 kB / 405.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.2988, allocations: 107.6 kB / 405.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.2991, allocations: 106.3 kB / 405.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.2993, allocations: 220.2 kB / 405.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.2998, allocations: 448.6 kB / 406 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.3011, allocations: 1.219 MB / 407.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3011, allocations: 0 / 407.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3011, allocations: 0 / 407.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.3011, allocations: 1.375 kB / 407.2 MB, free: 2.477 MB / 318.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.002209/0.3033, allocations: 1.295 MB / 408.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3033, allocations: 13.92 kB / 408.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.3035, allocations: 115.1 kB / 408.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.3037, allocations: 115.9 kB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3047, allocations: 0.5376 MB / 409.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.305, allocations: 297.5 kB / 409.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.3051, allocations: 65.89 kB / 409.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.3067, allocations: 1.624 MB / 411.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3067, allocations: 3.938 kB / 411.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.3068, allocations: 32.69 kB / 411.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.3068, allocations: 14.88 kB / 411.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.3083, allocations: 0.5983 MB / 411.9 MB, free: 14.91 MB / 334.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.003655/0.312, allocations: 1.631 MB / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.3133, allocations: 0.5831 MB / 414.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007733/0.3141, allocations: 358.1 kB / 414.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.3142, allocations: 14.19 kB / 414.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.3142, allocations: 54.56 kB / 414.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.3142, allocations: 0 / 414.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004977/0.3192, allocations: 1.504 MB / 416.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004471/0.3196, allocations: 0.8185 MB / 416.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.3205, allocations: 0.6419 MB / 417.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.3207, allocations: 44.52 kB / 417.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.321, allocations: 341.9 kB / 417.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.3212, allocations: 263.4 kB / 418.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.3214, allocations: 145.9 kB / 418.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3217, allocations: 387.9 kB / 418.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.3224, allocations: 353.4 kB / 419 MB, free: 9.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.3238, allocations: 1.39 MB / 420.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.3252, allocations: 0.6819 MB / 421.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.3252, allocations: 1.375 kB / 421.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002869/0.3281, allocations: 1.167 MB / 422.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.3282, allocations: 87.97 kB / 422.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3282, allocations: 1.406 kB / 422.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007444/0.3289, allocations: 236 kB / 422.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.3296, allocations: 148 kB / 422.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008403/0.338, allocations: 6.463 MB / 429.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3391, allocations: 99.61 kB / 429.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.3392, allocations: 28.19 kB / 429.3 MB, free: 0.5078 MB / 334.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.0004586/0.3397, allocations: 221.8 kB / 429.5 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.3398, allocations: 103.4 kB / 429.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.34, allocations: 83.34 kB / 429.7 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.34, allocations: 8 kB / 429.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.34, allocations: 0 / 429.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002534/0.3426, allocations: 1.237 MB / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.3467, allocations: 1.74 MB / 432.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3467, allocations: 0 / 432.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.3473, allocations: 135.8 kB / 432.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005522/0.3479, allocations: 202.5 kB / 433 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.3479, allocations: 19.88 kB / 433 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006717/0.3546, allocations: 5.006 MB / 438.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3547, allocations: 3.938 kB / 438.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.3583, allocations: 1.396 MB / 439.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.3588, allocations: 167.2 kB / 439.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3589, allocations: 20 kB / 439.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.3596, allocations: 43.95 kB / 439.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.3598, allocations: 68.53 kB / 439.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.3598, allocations: 19.98 kB / 439.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.3604, allocations: 459 kB / 440.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3604, allocations: 4 kB / 440.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008927/0.3613, allocations: 283.8 kB / 440.5 MB, free: 4.758 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.00371/0.365, allocations: 1.963 MB / 442.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.3676, allocations: 1.392 MB / 443.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3676, allocations: 0 / 443.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.369, allocations: 0.7457 MB / 444.6 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3702, allocations: 243 kB / 444.8 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.3852, allocations: 7.833 MB / 452.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3856, allocations: 354.2 kB / 453 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005159/0.3861, allocations: 106.4 kB / 453.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.3865, allocations: 303.3 kB / 453.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3865, allocations: 3.938 kB / 453.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/0.4591, allocations: 28.25 MB / 481.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.27, allocations: 11.83 kB / 481.7 MB, free: 10.98 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.725378912873566]