Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.00189/0.00189, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.002155/0.002155, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.462/1.462, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09366, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005122/0.09879, allocations: 3.693 MB / 421.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1005, allocations: 0.9812 MB / 422.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.1007, allocations: 11.94 kB / 422.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.101, allocations: 115 kB / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.1014, allocations: 190.4 kB / 422.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1017, allocations: 143.8 kB / 422.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008735/0.1026, allocations: 0.6769 MB / 423.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.1028, allocations: 122.3 kB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.1031, allocations: 271 kB / 424 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.1035, allocations: 294.7 kB / 424.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.1036, allocations: 56 kB / 424.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-05/0.1037, allocations: 60 kB / 424.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1038, allocations: 123.6 kB / 424.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.1041, allocations: 310.5 kB / 424.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.1048, allocations: 0.6964 MB / 425.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1049, allocations: 0 / 425.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1049, allocations: 0 / 425.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1049, allocations: 4 kB / 425.5 MB, free: 4.863 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001677/0.1065, allocations: 0.9085 MB / 426.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1066, allocations: 8.031 kB / 426.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.1067, allocations: 83.27 kB / 426.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1068, allocations: 68.56 kB / 426.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.1076, allocations: 446.8 kB / 427 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1077, allocations: 62.86 kB / 427 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.1078, allocations: 32.38 kB / 427.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.1087, allocations: 492.8 kB / 427.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1087, allocations: 4 kB / 427.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1087, allocations: 16 kB / 427.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.1088, allocations: 19.92 kB / 427.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008822/0.1096, allocations: 338.4 kB / 427.9 MB, free: 2.25 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.002097/0.1117, allocations: 1.291 MB / 429.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.1125, allocations: 366.5 kB / 429.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.1129, allocations: 164.8 kB / 429.7 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.1129, allocations: 4.594 kB / 429.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1129, allocations: 38.56 kB / 429.8 MB, free: 280 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.1129, allocations: 0 / 429.8 MB, free: 280 kB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00175/0.1147, allocations: 0.7237 MB / 430.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002326/0.1149, allocations: 448.9 kB / 430.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.1155, allocations: 457.9 kB / 431.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.1155, allocations: 33.7 kB / 431.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.1157, allocations: 252.6 kB / 431.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.1158, allocations: 130.9 kB / 431.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.116, allocations: 69.7 kB / 431.9 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1161, allocations: 358.8 kB / 432.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.1165, allocations: 139.9 kB / 432.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.1171, allocations: 278.6 kB / 432.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.1179, allocations: 345.1 kB / 433 MB, free: 12.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1179, allocations: 0 / 433 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001121/0.119, allocations: 490 kB / 433.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.119, allocations: 29.7 kB / 433.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.119, allocations: 3.938 kB / 433.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.1192, allocations: 53.69 kB / 433.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.1197, allocations: 79.92 kB / 433.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.1224, allocations: 2.97 MB / 436.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.1228, allocations: 51.8 kB / 436.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.1229, allocations: 8 kB / 436.6 MB, free: 8.852 MB / 366.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.0002358/0.1231, allocations: 169.8 kB / 436.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.1232, allocations: 55.67 kB / 436.8 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1233, allocations: 60.75 kB / 436.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1233, allocations: 4 kB / 436.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1233, allocations: 3.938 kB / 436.9 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/0.1244, allocations: 0.7271 MB / 437.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.1261, allocations: 1.02 MB / 438.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1261, allocations: 3.938 kB / 438.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.1266, allocations: 87.88 kB / 438.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1266, allocations: 4 kB / 438.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1266, allocations: 4 kB / 438.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1266, allocations: 8 kB / 438.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1266, allocations: 0 / 438.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.128, allocations: 0.6493 MB / 439.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.1282, allocations: 176.6 kB / 439.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.1283, allocations: 8 kB / 439.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.1287, allocations: 35.97 kB / 439.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.1287, allocations: 23.91 kB / 439.7 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.1288, allocations: 8 kB / 439.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003888/0.1291, allocations: 327.1 kB / 440 MB, free: 5.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 4.062 kB / 440 MB, free: 5.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.1296, allocations: 139.8 kB / 440.1 MB, free: 5.141 MB / 366.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.001763/0.1314, allocations: 1.215 MB / 441.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.1327, allocations: 0.6138 MB / 441.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1327, allocations: 0 / 441.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.1331, allocations: 168.2 kB / 442.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.1338, allocations: 149.8 kB / 442.3 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1773/0.3111, allocations: 4.521 MB / 446.8 MB, free: 29.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3113, allocations: 0.83 MB / 447.6 MB, free: 28.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.3116, allocations: 62.2 kB / 447.7 MB, free: 28.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.3118, allocations: 177.2 kB / 447.8 MB, free: 28.84 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3118, allocations: 0 / 447.8 MB, free: 28.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.36, allocations: 13.74 MB / 461.6 MB, free: 25.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.9, allocations: 13.81 kB / 461.6 MB, free: 25.76 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.347657918930054]