Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0008926/0.0008926, 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.0007604/0.0007604, 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.8633/0.8633, allocations: 173.4 MB / 200.4 MB, free: 9.43 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.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.459e-05, allocations: 2.281 kB / 318.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002834/0.002849, allocations: 2.66 MB / 321.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.004382, allocations: 1.184 MB / 322.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.004554, allocations: 7.938 kB / 322.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.00501, allocations: 183 kB / 322.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.00541, allocations: 214.6 kB / 322.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.005813, allocations: 171.4 kB / 322.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.006388, allocations: 484.5 kB / 323.3 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.006586, allocations: 67.94 kB / 323.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.006906, allocations: 259.4 kB / 323.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.007106, allocations: 167.6 kB / 323.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.007152, allocations: 36 kB / 323.8 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.007278, allocations: 71.91 kB / 323.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.007375, allocations: 91.62 kB / 324 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.007494, allocations: 123.7 kB / 324.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.007968, allocations: 490.4 kB / 324.6 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007972, allocations: 4 kB / 324.6 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007973, allocations: 0 / 324.6 MB, free: 56 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.00798, allocations: 0 / 324.6 MB, free: 56 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008603/0.00884, allocations: 0.633 MB / 325.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.008882, allocations: 12.92 kB / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.029e-05/0.008962, allocations: 67.11 kB / 325.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.00903, allocations: 52.66 kB / 325.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.009388, allocations: 276.5 kB / 325.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.00941, allocations: 16.88 kB / 325.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.009441, allocations: 24.36 kB / 325.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.0099, allocations: 0.5969 MB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.009914, allocations: 4 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.009938, allocations: 8 kB / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.009945, allocations: 4 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.01016, allocations: 157.8 kB / 326.4 MB, free: 14.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.000973/0.01113, allocations: 0.6998 MB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.0114, allocations: 171.1 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.01149, allocations: 72.83 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.01151, allocations: 4 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.01173, allocations: 194.6 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/0.01173, allocations: 0 / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006076/0.01234, allocations: 332.7 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.01245, allocations: 316.4 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.01279, allocations: 441.7 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.01281, allocations: 33.7 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01293, allocations: 204.4 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.01298, allocations: 83.33 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.01304, allocations: 57.64 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01315, allocations: 350.8 kB / 329.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.01324, allocations: 67.97 kB / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.01347, allocations: 433 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01367, allocations: 175.9 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01367, allocations: 3.938 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003207/0.01399, allocations: 282 kB / 330.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01401, allocations: 8 kB / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01401, allocations: 0 / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.01413, allocations: 32.84 kB / 330.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01426, allocations: 51.91 kB / 330.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01531, allocations: 1.459 MB / 331.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01543, allocations: 27.88 kB / 331.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01544, allocations: 12 kB / 331.9 MB, free: 8.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.01559, allocations: 165.8 kB / 332 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.01562, allocations: 39.77 kB / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.01596, allocations: 266 kB / 332.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01597, allocations: 11.94 kB / 332.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01597, allocations: 0 / 332.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003435/0.01631, allocations: 0.5931 MB / 332.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.01693, allocations: 0.6487 MB / 333.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01693, allocations: 0 / 333.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.01705, allocations: 43.92 kB / 333.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01705, allocations: 3.984 kB / 333.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01706, allocations: 8 kB / 333.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01707, allocations: 0 / 333.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01707, allocations: 0 / 333.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.01745, allocations: 429.3 kB / 334 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.01754, allocations: 63.89 kB / 334.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.01756, allocations: 8 kB / 334.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01767, allocations: 11.98 kB / 334.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.01771, allocations: 23.95 kB / 334.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.01773, allocations: 4 kB / 334.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.01795, allocations: 319.1 kB / 334.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01795, allocations: 0 / 334.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.01822, allocations: 91.89 kB / 334.6 MB, free: 5.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001279/0.0195, allocations: 1.289 MB / 335.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.01992, allocations: 311.4 kB / 336.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.01993, allocations: 4 kB / 336.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.02002, allocations: 83.09 kB / 336.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.02038, allocations: 115.9 kB / 336.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.02335, allocations: 3.311 MB / 339.7 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.02351, allocations: 199.5 kB / 339.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.02363, allocations: 46.94 kB / 339.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.02375, allocations: 120.5 kB / 340 MB, free: 15.81 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02376, allocations: 4 kB / 340 MB, free: 15.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.04853, allocations: 11.61 MB / 351.6 MB, free: 4.363 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.123, allocations: 6.859 kB / 351.6 MB, free: 4.359 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.905359665863216]