Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.00165/0.00165, allocations: 114.5 kB / 17.78 MB, free: 5.289 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.001849/0.001849, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.437/1.437, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09815, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004818/0.103, allocations: 3.511 MB / 421.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1046, allocations: 0.9462 MB / 422.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1048, allocations: 7.938 kB / 422.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1051, allocations: 111.1 kB / 422.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1055, allocations: 190.4 kB / 422.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1057, allocations: 119.8 kB / 422.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007222/0.1065, allocations: 0.638 MB / 423.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1067, allocations: 134.9 kB / 423.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.107, allocations: 251.1 kB / 423.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.1073, allocations: 274.8 kB / 423.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.1074, allocations: 52 kB / 424 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.1075, allocations: 56 kB / 424 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1076, allocations: 115.6 kB / 424.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.1079, allocations: 290.7 kB / 424.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.1086, allocations: 0.6497 MB / 425.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1086, allocations: 3.984 kB / 425.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1086, allocations: 0 / 425.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1086, allocations: 4 kB / 425.1 MB, free: 5.258 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001479/0.1101, allocations: 0.8541 MB / 425.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1102, allocations: 8.031 kB / 426 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.1103, allocations: 83.66 kB / 426 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1104, allocations: 64.56 kB / 426.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.111, allocations: 403.3 kB / 426.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1111, allocations: 59.27 kB / 426.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.1112, allocations: 32.38 kB / 426.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.1119, allocations: 478 kB / 427 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1119, allocations: 0 / 427 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.112, allocations: 15.98 kB / 427.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.112, allocations: 8 kB / 427.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.1126, allocations: 291.8 kB / 427.4 MB, free: 2.828 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.00219/0.1148, allocations: 1.312 MB / 428.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.116, allocations: 415.6 kB / 429.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.1163, allocations: 128.8 kB / 429.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.1163, allocations: 11.98 kB / 429.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1164, allocations: 38.56 kB / 429.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.1164, allocations: 4 kB / 429.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00127/0.1176, allocations: 0.6108 MB / 429.9 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/0.1179, allocations: 445 kB / 430.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.1184, allocations: 449.9 kB / 430.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.1185, allocations: 37.7 kB / 430.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1187, allocations: 236.7 kB / 431 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1188, allocations: 119 kB / 431.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.1189, allocations: 74.02 kB / 431.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1191, allocations: 350.8 kB / 431.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.1193, allocations: 112.6 kB / 431.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.1197, allocations: 256 kB / 431.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.1203, allocations: 281.2 kB / 432.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1203, allocations: 0 / 432.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007608/0.121, allocations: 412.6 kB / 432.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.1211, allocations: 33.7 kB / 432.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1211, allocations: 3.938 kB / 432.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.1213, allocations: 57.62 kB / 432.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.1216, allocations: 67.89 kB / 432.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.1243, allocations: 2.965 MB / 435.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.1247, allocations: 51.77 kB / 435.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1247, allocations: 8 kB / 435.8 MB, free: 9.73 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 (36): * Single equations (assignments): 33 * 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.0002264/0.125, allocations: 174.4 kB / 435.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.125, allocations: 47.81 kB / 436 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1251, allocations: 56.58 kB / 436 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1252, allocations: 4 kB / 436 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1252, allocations: 0 / 436 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007566/0.1259, allocations: 0.6492 MB / 436.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1273, allocations: 0.901 MB / 437.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1273, allocations: 4 kB / 437.6 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.1277, allocations: 71.91 kB / 437.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1277, allocations: 0 / 437.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1277, allocations: 7.984 kB / 437.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1277, allocations: 8 kB / 437.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1277, allocations: 0 / 437.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.1286, allocations: 0.5243 MB / 438.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.1288, allocations: 164.7 kB / 438.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.1288, allocations: 8 kB / 438.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.1292, allocations: 19.98 kB / 438.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.1292, allocations: 20.03 kB / 438.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1292, allocations: 12 kB / 438.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003744/0.1296, allocations: 315.1 kB / 438.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1296, allocations: 0 / 438.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.1301, allocations: 135.9 kB / 438.9 MB, free: 6.422 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 (32): * Single equations (assignments): 32 * 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.001264/0.1313, allocations: 1.064 MB / 439.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.1323, allocations: 0.5477 MB / 440.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1323, allocations: 4 kB / 440.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.1326, allocations: 127.9 kB / 440.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.1333, allocations: 133.8 kB / 440.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.1396, allocations: 4.258 MB / 445 MB, free: 120 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1764/0.316, allocations: 0.817 MB / 445.8 MB, free: 30.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.3163, allocations: 63.23 kB / 445.9 MB, free: 30.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3165, allocations: 158.4 kB / 446 MB, free: 30.17 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3165, allocations: 1.781 kB / 446 MB, free: 30.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.3622, allocations: 12.81 MB / 458.8 MB, free: 27.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.19, allocations: 17.55 kB / 458.9 MB, free: 27.65 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_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_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.68662430997938]