Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001498/0.001498, allocations: 120 kB / 18.45 MB, free: 4.605 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.001268/0.001268, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 59.91 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.09052, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004406/0.09493, allocations: 2.854 MB / 394.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.09703, allocations: 1.197 MB / 395.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.09721, allocations: 8 kB / 395.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.09774, allocations: 183.1 kB / 395.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.0982, allocations: 206.8 kB / 395.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.09861, allocations: 155.6 kB / 396 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.09921, allocations: 453.9 kB / 396.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.09938, allocations: 63.5 kB / 396.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.09963, allocations: 183.3 kB / 396.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.09991, allocations: 211.1 kB / 396.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.09996, allocations: 32 kB / 396.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1001, allocations: 71.97 kB / 396.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1002, allocations: 83.69 kB / 397 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1004, allocations: 202.9 kB / 397.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.101, allocations: 485.9 kB / 397.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.101, allocations: 0 / 397.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.101, allocations: 0 / 397.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.101, allocations: 0 / 397.7 MB, free: 2.371 MB / 318.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.001147/0.1021, allocations: 0.712 MB / 398.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1022, allocations: 8.031 kB / 398.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1023, allocations: 67.11 kB / 398.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.1024, allocations: 48.66 kB / 398.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.1029, allocations: 351 kB / 398.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.103, allocations: 12.81 kB / 398.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.103, allocations: 31.89 kB / 398.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.1035, allocations: 301.5 kB / 399.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1035, allocations: 0 / 399.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.1036, allocations: 8 kB / 399.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.1036, allocations: 7.938 kB / 399.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.1039, allocations: 157.6 kB / 399.4 MB, free: 0.5469 MB / 318.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.001448/0.1053, allocations: 0.8361 MB / 400.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1057, allocations: 179.1 kB / 400.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1059, allocations: 68.83 kB / 400.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.1059, allocations: 7.938 kB / 400.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.1063, allocations: 135.1 kB / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.1063, allocations: 0 / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008727/0.1071, allocations: 411.1 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.1073, allocations: 312.4 kB / 401.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.1078, allocations: 433.7 kB / 401.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.1079, allocations: 29.7 kB / 401.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.108, allocations: 208.4 kB / 402 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.1081, allocations: 79.33 kB / 402 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.1082, allocations: 61.69 kB / 402.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1084, allocations: 350.8 kB / 402.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1085, allocations: 59.98 kB / 402.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.1087, allocations: 176 kB / 402.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.109, allocations: 183.2 kB / 402.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.109, allocations: 0 / 402.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000484/0.1095, allocations: 274.1 kB / 403.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1095, allocations: 4.094 kB / 403.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1095, allocations: 8 kB / 403.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.1097, allocations: 28.84 kB / 403.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1099, allocations: 55.91 kB / 403.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.1116, allocations: 1.578 MB / 404.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.1118, allocations: 23.83 kB / 404.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1118, allocations: 12 kB / 404.8 MB, free: 10.66 MB / 334.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.0002004/0.112, allocations: 165.8 kB / 405 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.1121, allocations: 51.66 kB / 405 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.1122, allocations: 47.52 kB / 405.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1122, allocations: 4 kB / 405.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1122, allocations: 0 / 405.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005628/0.1127, allocations: 0.575 MB / 405.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.1137, allocations: 0.7011 MB / 406.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1137, allocations: 3.984 kB / 406.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.1139, allocations: 39.98 kB / 406.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1139, allocations: 11.94 kB / 406.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1139, allocations: 4 kB / 406.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1139, allocations: 3.984 kB / 406.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1139, allocations: 96 / 406.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.1145, allocations: 411.2 kB / 406.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.1146, allocations: 140.8 kB / 407 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1147, allocations: 7.984 kB / 407 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.1149, allocations: 12.06 kB / 407 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1149, allocations: 15.98 kB / 407 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.115, allocations: 7.984 kB / 407 MB, free: 8.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.1153, allocations: 315.1 kB / 407.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1153, allocations: 0 / 407.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.1157, allocations: 95.89 kB / 407.4 MB, free: 7.863 MB / 334.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.002289/0.118, allocations: 1.256 MB / 408.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.1186, allocations: 306.4 kB / 409 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1186, allocations: 0 / 409 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1188, allocations: 76.31 kB / 409 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.1193, allocations: 98.09 kB / 409.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.1238, allocations: 3.368 MB / 412.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1243, allocations: 0.796 MB / 413.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.1244, allocations: 46.94 kB / 413.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.1246, allocations: 127.4 kB / 413.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1246, allocations: 0 / 413.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.1658, allocations: 10.26 MB / 423.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.13, allocations: 7.875 kB / 423.7 MB, free: 7.273 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.552411169279367]