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.0008175/0.0008175, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007437/0.0007437, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.844/0.844, allocations: 173.4 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.333e-06/1.333e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.223e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00306/0.003082, allocations: 3.193 MB / 321.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.00427, allocations: 0.9073 MB / 322.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.004438, allocations: 11.88 kB / 322.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.004695, allocations: 111 kB / 322.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.004979, allocations: 202.2 kB / 322.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.005181, allocations: 115.8 kB / 322.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.005656, allocations: 0.661 MB / 323.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.005843, allocations: 131.4 kB / 323.7 MB, free: 1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.006113, allocations: 367.2 kB / 324.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.006316, allocations: 199.4 kB / 324.3 MB, free: 456 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.006368, allocations: 56 kB / 324.3 MB, free: 400 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.00642, allocations: 56 kB / 324.4 MB, free: 344 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.006484, allocations: 115.6 kB / 324.5 MB, free: 228 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.006617, allocations: 211.6 kB / 324.7 MB, free: 16 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.007083, allocations: 0.6619 MB / 325.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.007086, allocations: 0 / 325.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007088, allocations: 0 / 325.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007094, allocations: 0 / 325.4 MB, free: 15.35 MB / 298.7 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.0008949/0.007989, allocations: 0.7821 MB / 326.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.008027, allocations: 12.92 kB / 326.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.246e-05/0.008119, allocations: 79.67 kB / 326.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.008194, allocations: 64.61 kB / 326.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.008615, allocations: 336.7 kB / 326.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/0.008712, allocations: 118.7 kB / 326.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.008749, allocations: 28.38 kB / 326.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.009334, allocations: 0.84 MB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.009346, allocations: 192 / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.009376, allocations: 19.94 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.009384, allocations: 8 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.009759, allocations: 283.8 kB / 327.9 MB, free: 12.56 MB / 298.7 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.001339/0.0111, allocations: 1.035 MB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.01177, allocations: 331.3 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01194, allocations: 136.8 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.01196, allocations: 8 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01199, allocations: 38.56 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.01199, allocations: 3.938 kB / 329.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007022/0.01269, allocations: 450.9 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.01282, allocations: 452.9 kB / 330.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.01317, allocations: 453.9 kB / 330.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.01319, allocations: 33.7 kB / 330.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01332, allocations: 244.6 kB / 331.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.01338, allocations: 115 kB / 331.2 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.01347, allocations: 81.95 kB / 331.3 MB, free: 9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01357, allocations: 354.8 kB / 331.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.01373, allocations: 134.3 kB / 331.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.01407, allocations: 0.6478 MB / 332.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01438, allocations: 280.6 kB / 332.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01439, allocations: 0 / 332.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004678/0.01486, allocations: 450.9 kB / 333.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.01489, allocations: 33.7 kB / 333.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01489, allocations: 0 / 333.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.01502, allocations: 49.69 kB / 333.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.01519, allocations: 67.91 kB / 333.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.01675, allocations: 2.75 MB / 336 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.01697, allocations: 51.7 kB / 336.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.01699, allocations: 12 kB / 336.1 MB, free: 3.762 MB / 298.7 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.0001513/0.01714, allocations: 169.9 kB / 336.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.0172, allocations: 55.67 kB / 336.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.01725, allocations: 48.7 kB / 336.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01726, allocations: 0 / 336.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01726, allocations: 7.938 kB / 336.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004265/0.01769, allocations: 0.6542 MB / 337 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.0185, allocations: 0.794 MB / 337.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0185, allocations: 0 / 337.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.01869, allocations: 71.83 kB / 337.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01869, allocations: 0 / 337.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.0187, allocations: 11.98 kB / 337.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01871, allocations: 0 / 337.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01871, allocations: 0 / 337.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.01924, allocations: 0.5132 MB / 338.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.01936, allocations: 95.59 kB / 338.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.0194, allocations: 15.98 kB / 338.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.01955, allocations: 12 kB / 338.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.01959, allocations: 23.95 kB / 338.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.0196, allocations: 4 kB / 338.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.01985, allocations: 327.1 kB / 338.8 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01985, allocations: 0 / 338.8 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.02015, allocations: 127.9 kB / 339 MB, free: 0.6602 MB / 298.7 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.0007506/0.0209, allocations: 1.08 MB / 340.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.02149, allocations: 0.5687 MB / 340.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02149, allocations: 0 / 340.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.02162, allocations: 119.8 kB / 340.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.02206, allocations: 141.9 kB / 340.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.02599, allocations: 4.345 MB / 345.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.02613, allocations: 220.4 kB / 345.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.0263, allocations: 60.36 kB / 345.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.02645, allocations: 164.4 kB / 345.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02646, allocations: 0 / 345.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.05525, allocations: 14.47 MB / 360.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.335, allocations: 15.44 kB / 360.1 MB, free: 11.57 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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: 10.037145757116377]