Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001357/0.001357, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.001391/0.001391, allocations: 219.2 kB / 21.42 MB, free: 1.625 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.507/1.507, allocations: 207.6 MB / 231.8 MB, free: 4.047 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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001715/0.001715, allocations: 55.86 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1139, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005519/0.1194, allocations: 3.677 MB / 395.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1215, allocations: 1.021 MB / 396.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.1217, allocations: 7.938 kB / 396.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1221, allocations: 115.1 kB / 396.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.1225, allocations: 202.3 kB / 396.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1228, allocations: 135.8 kB / 396.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.1236, allocations: 0.6769 MB / 397.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1239, allocations: 138.3 kB / 397.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1242, allocations: 263 kB / 397.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.1245, allocations: 290.8 kB / 397.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.404e-05/0.1246, allocations: 60 kB / 398 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.1247, allocations: 56 kB / 398 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1248, allocations: 131.5 kB / 398.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.1251, allocations: 318.5 kB / 398.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.1259, allocations: 0.6925 MB / 399.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1259, allocations: 0 / 399.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1259, allocations: 0 / 399.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1259, allocations: 0 / 399.1 MB, free: 0.9297 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001685/0.1276, allocations: 0.9083 MB / 400.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1277, allocations: 15.97 kB / 400.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.1278, allocations: 75.38 kB / 400.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1279, allocations: 68.52 kB / 400.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.1288, allocations: 446.9 kB / 400.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1289, allocations: 58.91 kB / 400.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.1289, allocations: 36.56 kB / 400.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.1299, allocations: 492.8 kB / 401.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1299, allocations: 0 / 401.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.1299, allocations: 20 kB / 401.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.13, allocations: 11.94 kB / 401.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/0.1308, allocations: 334.4 kB / 401.6 MB, free: 14.33 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.002204/0.133, allocations: 1.306 MB / 402.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/0.1338, allocations: 359.4 kB / 403.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.1342, allocations: 172.8 kB / 403.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.1343, allocations: 7.984 kB / 403.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1343, allocations: 38.56 kB / 403.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.1343, allocations: 0 / 403.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001746/0.1361, allocations: 0.7239 MB / 404.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/0.1363, allocations: 444.9 kB / 404.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.1369, allocations: 458 kB / 405.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.1369, allocations: 37.7 kB / 405.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.1371, allocations: 248.6 kB / 405.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1373, allocations: 118.9 kB / 405.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1374, allocations: 77.69 kB / 405.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1376, allocations: 362.7 kB / 405.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.138, allocations: 135.9 kB / 406 MB, free: 9.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.1385, allocations: 282.6 kB / 406.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.1393, allocations: 337.2 kB / 406.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1393, allocations: 0 / 406.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001071/0.1404, allocations: 486.1 kB / 407.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.1404, allocations: 37.69 kB / 407.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1404, allocations: 0 / 407.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.1406, allocations: 49.7 kB / 407.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.141, allocations: 83.91 kB / 407.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.144, allocations: 2.974 MB / 410.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.1444, allocations: 59.78 kB / 410.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1445, allocations: 11.94 kB / 410.3 MB, free: 4.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.1447, allocations: 169.8 kB / 410.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.1448, allocations: 51.67 kB / 410.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1449, allocations: 60.75 kB / 410.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1449, allocations: 4 kB / 410.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1449, allocations: 3.938 kB / 410.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.146, allocations: 0.727 MB / 411.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.1477, allocations: 1.013 MB / 412.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1477, allocations: 0 / 412.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.1482, allocations: 91.81 kB / 412.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1482, allocations: 0 / 412.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1482, allocations: 12 kB / 412.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1482, allocations: 0 / 412.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1482, allocations: 0 / 412.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.1495, allocations: 0.6527 MB / 413.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1497, allocations: 176.6 kB / 413.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.1498, allocations: 8 kB / 413.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.1502, allocations: 27.97 kB / 413.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.1502, allocations: 27.83 kB / 413.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1503, allocations: 7.984 kB / 413.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003974/0.1507, allocations: 323.1 kB / 413.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1507, allocations: 4.062 kB / 413.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.1511, allocations: 139.8 kB / 413.8 MB, free: 1.211 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.1529, allocations: 1.2 MB / 415 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.1542, allocations: 0.6215 MB / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1542, allocations: 0 / 415.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.1546, allocations: 168.2 kB / 415.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.1553, allocations: 153.9 kB / 415.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/0.1625, allocations: 4.538 MB / 420.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.1629, allocations: 0.8275 MB / 421.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.1632, allocations: 64.36 kB / 421.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.1635, allocations: 171.4 kB / 421.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1635, allocations: 0 / 421.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.2118, allocations: 13.75 MB / 435.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.54, allocations: 8.875 kB / 435.3 MB, free: 11.44 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_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_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.132578282995382]