Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1008, allocations: 53.37 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004563/0.1054, allocations: 2.901 MB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1077, allocations: 1.398 MB / 430.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1079, allocations: 7.938 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.1083, allocations: 179.1 kB / 430.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.1089, allocations: 246.6 kB / 431.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1092, allocations: 147.5 kB / 431.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000563/0.1098, allocations: 465.8 kB / 431.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.11, allocations: 71.83 kB / 431.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.1102, allocations: 191.3 kB / 431.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1105, allocations: 219.1 kB / 432.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.1105, allocations: 28 kB / 432.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.1107, allocations: 71.98 kB / 432.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1108, allocations: 87.67 kB / 432.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.111, allocations: 198.9 kB / 432.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.1116, allocations: 497.9 kB / 433 MB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1116, allocations: 0 / 433 MB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1116, allocations: 0 / 433 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1116, allocations: 0 / 433 MB, free: 13.96 MB / 366.1 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.001071/0.1127, allocations: 0.7159 MB / 433.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1127, allocations: 8.031 kB / 433.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.1128, allocations: 59.16 kB / 433.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1129, allocations: 48.66 kB / 433.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.1134, allocations: 366.8 kB / 434.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.1135, allocations: 12.81 kB / 434.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.1135, allocations: 20.38 kB / 434.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.114, allocations: 305.6 kB / 434.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1141, allocations: 0 / 434.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1141, allocations: 15.98 kB / 434.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1141, allocations: 4 kB / 434.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1144, allocations: 149.7 kB / 434.7 MB, free: 12.14 MB / 366.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.001358/0.1158, allocations: 0.8402 MB / 435.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.1162, allocations: 179.1 kB / 435.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1163, allocations: 68.83 kB / 435.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1163, allocations: 4 kB / 435.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.1166, allocations: 143.2 kB / 435.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.1166, allocations: 0 / 435.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008727/0.1175, allocations: 399.2 kB / 436.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.1177, allocations: 316.3 kB / 436.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.1182, allocations: 445.7 kB / 437 MB, free: 9.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1182, allocations: 33.7 kB / 437.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1184, allocations: 212.4 kB / 437.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.1185, allocations: 87.2 kB / 437.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1186, allocations: 57.7 kB / 437.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1187, allocations: 350.8 kB / 437.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1189, allocations: 55.98 kB / 437.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1191, allocations: 176 kB / 438 MB, free: 8.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.1194, allocations: 183.4 kB / 438.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1194, allocations: 3.938 kB / 438.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004947/0.1199, allocations: 274 kB / 438.4 MB, free: 8.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.12, allocations: 9.859 kB / 438.4 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.12, allocations: 4 kB / 438.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.1201, allocations: 32.84 kB / 438.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1203, allocations: 47.97 kB / 438.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.122, allocations: 1.586 MB / 440.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.1223, allocations: 23.84 kB / 440.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1223, allocations: 8 kB / 440.1 MB, free: 6.223 MB / 366.1 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.0002093/0.1225, allocations: 165.8 kB / 440.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.1226, allocations: 43.72 kB / 440.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.1226, allocations: 51.53 kB / 440.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1226, allocations: 0 / 440.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1226, allocations: 0 / 440.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006346/0.1233, allocations: 0.5874 MB / 441 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.1243, allocations: 0.7079 MB / 441.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1243, allocations: 0 / 441.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.1245, allocations: 39.98 kB / 441.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1246, allocations: 3.984 kB / 441.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1246, allocations: 8 kB / 441.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1246, allocations: 0 / 441.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1246, allocations: 0 / 441.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.1252, allocations: 418.5 kB / 442.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.1254, allocations: 145 kB / 442.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.1254, allocations: 0 / 442.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1257, allocations: 12 kB / 442.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.1257, allocations: 19.95 kB / 442.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1257, allocations: 8 kB / 442.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003976/0.1261, allocations: 319.1 kB / 442.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1261, allocations: 4.062 kB / 442.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1265, allocations: 91.89 kB / 442.7 MB, free: 3.418 MB / 366.1 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 (23): * Single equations (assignments): 21 * 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.002416/0.129, allocations: 1.26 MB / 444 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.1296, allocations: 290.6 kB / 444.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1296, allocations: 4 kB / 444.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.1298, allocations: 79.7 kB / 444.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.1304, allocations: 97.69 kB / 444.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1675/0.2979, allocations: 3.376 MB / 447.8 MB, free: 22.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.2981, allocations: 0.7989 MB / 448.6 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2983, allocations: 43.92 kB / 448.7 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.2984, allocations: 129.5 kB / 448.8 MB, free: 22.15 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2984, allocations: 0 / 448.8 MB, free: 22.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.3381, allocations: 10.34 MB / 459.2 MB, free: 20.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.54, allocations: 3.344 kB / 459.2 MB, free: 20.74 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.147017751005478]