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.001684/0.001684, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001999/0.001999, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.516/1.516, allocations: 207.6 MB / 231.8 MB, free: 4.051 MB / 174.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.001967/0.001967, allocations: 56.55 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.1011, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00693/0.108, allocations: 5.035 MB / 396.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.1111, allocations: 1.356 MB / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.1119, allocations: 15.88 kB / 397.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.1125, allocations: 166.5 kB / 398 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.1137, allocations: 337.2 kB / 398.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.1143, allocations: 223.7 kB / 398.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.1161, allocations: 1.176 MB / 399.7 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.1166, allocations: 210.2 kB / 399.9 MB, free: 164 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.1173, allocations: 478.4 kB / 400.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.1182, allocations: 0.5019 MB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.1185, allocations: 108 kB / 401 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.1187, allocations: 107.9 kB / 401.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.1189, allocations: 223.2 kB / 401.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.1195, allocations: 0.5172 MB / 401.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1207, allocations: 1.21 MB / 403 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1208, allocations: 0 / 403 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1208, allocations: 0 / 403 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.1208, allocations: 0 / 403 MB, free: 13.02 MB / 334.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.002524/0.1233, allocations: 1.371 MB / 404.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1233, allocations: 8.031 kB / 404.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.1235, allocations: 112 kB / 404.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.1237, allocations: 120.3 kB / 404.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1248, allocations: 0.5993 MB / 405.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.125, allocations: 143 kB / 405.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1251, allocations: 63.92 kB / 405.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1266, allocations: 0.8626 MB / 406.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.1266, allocations: 0 / 406.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.1267, allocations: 32 kB / 406.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1267, allocations: 12 kB / 406.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1281, allocations: 0.6141 MB / 407 MB, free: 8.852 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.003355/0.1315, allocations: 2.1 MB / 409.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.1329, allocations: 0.8037 MB / 409.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.1338, allocations: 366.5 kB / 410.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.1338, allocations: 8.656 kB / 410.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1339, allocations: 47.22 kB / 410.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.285e-06/0.1339, allocations: 0 / 410.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005249/0.1391, allocations: 1.797 MB / 412.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004555/0.1396, allocations: 0.8234 MB / 412.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.1404, allocations: 0.6371 MB / 413.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.97e-05/0.1405, allocations: 45.7 kB / 413.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.1408, allocations: 349.2 kB / 413.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.141, allocations: 257.7 kB / 414.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.1413, allocations: 154.6 kB / 414.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1415, allocations: 382.8 kB / 414.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/0.1422, allocations: 269.8 kB / 415 MB, free: 364 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009884/0.1432, allocations: 0.5546 MB / 415.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.1446, allocations: 0.6778 MB / 416.2 MB, free: 15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1446, allocations: 0 / 416.2 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002771/0.1474, allocations: 1.091 MB / 417.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.1475, allocations: 89.11 kB / 417.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1475, allocations: 4 kB / 417.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007297/0.1482, allocations: 235.2 kB / 417.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.1488, allocations: 143.8 kB / 417.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.1573, allocations: 6.932 MB / 424.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.1583, allocations: 111.5 kB / 424.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.1584, allocations: 28 kB / 424.8 MB, free: 5.738 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.0003927/0.1588, allocations: 213.7 kB / 425 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.159, allocations: 95.42 kB / 425.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.1591, allocations: 87.33 kB / 425.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1592, allocations: 8 kB / 425.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1592, allocations: 4.172 kB / 425.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002577/0.1617, allocations: 1.233 MB / 426.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.1657, allocations: 1.928 MB / 428.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1657, allocations: 0 / 428.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.1664, allocations: 139.8 kB / 428.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/0.167, allocations: 202.3 kB / 428.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.1671, allocations: 19.94 kB / 428.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006944/0.174, allocations: 5.334 MB / 434.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.174, allocations: 4.031 kB / 434.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.1774, allocations: 1.396 MB / 435.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.1779, allocations: 240.4 kB / 435.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.178, allocations: 20 kB / 435.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/0.1787, allocations: 51.94 kB / 435.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.1788, allocations: 60.58 kB / 435.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.1789, allocations: 19.98 kB / 435.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.1795, allocations: 455 kB / 436.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1795, allocations: 4 kB / 436.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000911/0.1804, allocations: 287.7 kB / 436.6 MB, free: 9.312 MB / 366.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.003873/0.1843, allocations: 1.971 MB / 438.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.1869, allocations: 1.32 MB / 439.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.1869, allocations: 0 / 439.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.1884, allocations: 0.7379 MB / 440.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.1896, allocations: 239.1 kB / 440.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.2032, allocations: 7.538 MB / 448.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.2038, allocations: 0.9479 MB / 449.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000468/0.2043, allocations: 98.44 kB / 449.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.2047, allocations: 299.3 kB / 449.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2047, allocations: 0 / 449.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2861/0.4909, allocations: 26.08 MB / 475.8 MB, free: 61.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.85, allocations: 10.52 kB / 475.8 MB, free: 61.65 MB / 382.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.42664023299585]