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.0008479/0.0008479, allocations: 76.08 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.0008251/0.0008251, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.8844/0.8844, allocations: 173.3 MB / 200.4 MB, free: 9.426 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.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 1.573e-06/1.573e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.838e-05, allocations: 6.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003101/0.003119, allocations: 3.35 MB / 321.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004468, allocations: 0.9384 MB / 322.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.004675, allocations: 11.94 kB / 322.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.004935, allocations: 107 kB / 322.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.00526, allocations: 214.2 kB / 323 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.0055, allocations: 135.7 kB / 323.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.006065, allocations: 0.7078 MB / 323.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.006252, allocations: 126.9 kB / 324 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.006582, allocations: 391.2 kB / 324.4 MB, free: 380 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.00679, allocations: 215.4 kB / 324.6 MB, free: 164 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.006847, allocations: 56 kB / 324.6 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.006903, allocations: 63.94 kB / 324.7 MB, free: 44 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.00698, allocations: 127.5 kB / 324.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.007123, allocations: 219.5 kB / 325 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.007608, allocations: 0.7126 MB / 325.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.00761, allocations: 4 kB / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007611, allocations: 0 / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.00762, allocations: 0 / 325.8 MB, free: 14.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001045/0.008666, allocations: 0.8255 MB / 326.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.008706, allocations: 8.922 kB / 326.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.008836, allocations: 75.33 kB / 326.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.008918, allocations: 72.56 kB / 326.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.009415, allocations: 384.2 kB / 327.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.009502, allocations: 114.3 kB / 327.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.009542, allocations: 28.38 kB / 327.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.01024, allocations: 0.8623 MB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.01026, allocations: 4.188 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.01029, allocations: 23.88 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.01029, allocations: 8 kB / 328.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.01077, allocations: 330.4 kB / 328.5 MB, free: 12.03 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.001389/0.01216, allocations: 1.025 MB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.01256, allocations: 274.4 kB / 329.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.01279, allocations: 176.6 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.01281, allocations: 4 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.01283, allocations: 38.56 kB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.403e-06/0.01283, allocations: 0 / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009146/0.01375, allocations: 0.5772 MB / 330.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.01387, allocations: 441 kB / 331 MB, free: 9.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.01421, allocations: 461.9 kB / 331.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.01424, allocations: 33.7 kB / 331.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01436, allocations: 244.6 kB / 331.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.01443, allocations: 122.9 kB / 331.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.01452, allocations: 81.64 kB / 331.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.01461, allocations: 362.7 kB / 332.3 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.01483, allocations: 169.6 kB / 332.4 MB, free: 7.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.01548, allocations: 0.6928 MB / 333.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.0159, allocations: 337.2 kB / 333.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.0159, allocations: 0 / 333.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005857/0.01649, allocations: 0.4998 MB / 334 MB, free: 6.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.01652, allocations: 32.52 kB / 334 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01652, allocations: 8.031 kB / 334 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.01664, allocations: 53.62 kB / 334.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.01684, allocations: 79.94 kB / 334.1 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.01832, allocations: 2.746 MB / 336.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.01853, allocations: 55.69 kB / 336.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01855, allocations: 11.94 kB / 336.9 MB, free: 2.898 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 (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.0001364/0.01869, allocations: 170.4 kB / 337.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.01874, allocations: 55.67 kB / 337.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.0188, allocations: 60.75 kB / 337.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.0188, allocations: 4 kB / 337.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0188, allocations: 0 / 337.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005601/0.01936, allocations: 0.728 MB / 338 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.02029, allocations: 0.903 MB / 338.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.02029, allocations: 0 / 338.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.02051, allocations: 79.94 kB / 338.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.02051, allocations: 4 kB / 338.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.02053, allocations: 7.938 kB / 338.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.02053, allocations: 7.938 kB / 339 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.02053, allocations: 4 kB / 339 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.0215, allocations: 0.649 MB / 339.6 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.02163, allocations: 91.67 kB / 339.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.02167, allocations: 16 kB / 339.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.02185, allocations: 31.97 kB / 339.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.0219, allocations: 23.95 kB / 339.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.02191, allocations: 12 kB / 339.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.02215, allocations: 323.1 kB / 340.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02215, allocations: 0 / 340.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.02244, allocations: 135.9 kB / 340.2 MB, free: 15.42 MB / 314.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 (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.0009407/0.02338, allocations: 1.201 MB / 341.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.0241, allocations: 0.6504 MB / 342.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0241, allocations: 0 / 342.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.02433, allocations: 171.6 kB / 342.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.02475, allocations: 146.1 kB / 342.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.02942, allocations: 4.622 MB / 347 MB, free: 8.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.02957, allocations: 224.7 kB / 347.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.02974, allocations: 68.33 kB / 347.3 MB, free: 8.121 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.02992, allocations: 172.5 kB / 347.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02992, allocations: 0 / 347.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.05769, allocations: 15.49 MB / 363 MB, free: 8.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.084, allocations: 13.69 kB / 363 MB, free: 8.754 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 9.840876705013216]