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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 99.12 kB / 17.3 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008095/0.0008095, allocations: 177.3 kB / 18.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB 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.000424/0.0004238, allocations: 8 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08712, allocations: 47.58 MB / 329.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002713/0.08987, allocations: 2.527 MB / 331.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.09162, allocations: 1.096 MB / 332.7 MB, free: 28 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.09177, allocations: 4 kB / 332.7 MB, free: 24 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.09224, allocations: 167.4 kB / 332.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.0926, allocations: 183 kB / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.09292, allocations: 127.7 kB / 333.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.09336, allocations: 430 kB / 333.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.09354, allocations: 99.94 kB / 333.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.09372, allocations: 155.4 kB / 333.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.09393, allocations: 203.1 kB / 334 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.09398, allocations: 20 kB / 334 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.0941, allocations: 63.97 kB / 334.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.09419, allocations: 71.64 kB / 334.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.09438, allocations: 216.6 kB / 334.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.09478, allocations: 454.3 kB / 334.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.09479, allocations: 4 kB / 334.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0948, allocations: 0 / 334.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.09482, allocations: 4 kB / 334.8 MB, free: 13.86 MB / 286.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.0008475/0.09567, allocations: 0.623 MB / 335.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.09571, allocations: 8.031 kB / 335.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.09582, allocations: 59.08 kB / 335.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.916e-05/0.09591, allocations: 52.45 kB / 335.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.09631, allocations: 350.5 kB / 335.9 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.09634, allocations: 16.81 kB / 335.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.09638, allocations: 23.94 kB / 335.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.09685, allocations: 305.5 kB / 336.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.09687, allocations: 0 / 336.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.0969, allocations: 11.98 kB / 336.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09691, allocations: 4 kB / 336.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.09719, allocations: 149.7 kB / 336.4 MB, free: 12.14 MB / 286.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.001178/0.09837, allocations: 0.84 MB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.09873, allocations: 187.1 kB / 337.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.09888, allocations: 80.83 kB / 337.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.09891, allocations: 7.938 kB / 337.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.09917, allocations: 131.3 kB / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.09918, allocations: 0 / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007571/0.09994, allocations: 407.6 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.1001, allocations: 316.4 kB / 338.4 MB, free: 10 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.1005, allocations: 433.7 kB / 338.8 MB, free: 9.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1005, allocations: 33.7 kB / 338.8 MB, free: 9.531 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1007, allocations: 204.2 kB / 339 MB, free: 9.324 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.1007, allocations: 78.84 kB / 339.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1008, allocations: 33.7 kB / 339.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1009, allocations: 346.8 kB / 339.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.101, allocations: 67.92 kB / 339.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.1013, allocations: 176 kB / 339.7 MB, free: 8.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1015, allocations: 179.2 kB / 339.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1015, allocations: 0 / 339.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004221/0.102, allocations: 274 kB / 340.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.102, allocations: 11.92 kB / 340.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.102, allocations: 0 / 340.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.1021, allocations: 32.84 kB / 340.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1023, allocations: 44.08 kB / 340.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.1036, allocations: 1.472 MB / 341.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1038, allocations: 23.88 kB / 341.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1039, allocations: 12 kB / 341.7 MB, free: 6.379 MB / 286.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.0001932/0.1041, allocations: 165.8 kB / 341.9 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1041, allocations: 43.53 kB / 341.9 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.1042, allocations: 43.58 kB / 342 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1042, allocations: 7.938 kB / 342 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1042, allocations: 0 / 342 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004648/0.1047, allocations: 0.5867 MB / 342.6 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.1055, allocations: 0.7 MB / 343.3 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1055, allocations: 7.938 kB / 343.3 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1057, allocations: 47.97 kB / 343.3 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1057, allocations: 4 kB / 343.3 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1058, allocations: 4 kB / 343.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1058, allocations: 0 / 343.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1058, allocations: 0 / 343.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.1063, allocations: 402.6 kB / 343.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1064, allocations: 144.8 kB / 343.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.1065, allocations: 12.06 kB / 343.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.1067, allocations: 15.98 kB / 343.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1067, allocations: 11.97 kB / 343.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1068, allocations: 12 kB / 343.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.1071, allocations: 311.1 kB / 344.2 MB, free: 3.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1071, allocations: 0 / 344.2 MB, free: 3.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.1074, allocations: 95.83 kB / 344.3 MB, free: 3.582 MB / 286.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.001528/0.109, allocations: 1.244 MB / 345.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004956/0.1095, allocations: 306.5 kB / 345.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1095, allocations: 0 / 345.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1096, allocations: 92.03 kB / 346 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.1102, allocations: 97.38 kB / 346 MB, free: 1.828 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.114, allocations: 3.575 MB / 349.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1143, allocations: 0.8034 MB / 350.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1145, allocations: 46.94 kB / 350.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.1147, allocations: 123.4 kB / 350.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1147, allocations: 0 / 350.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.136, allocations: 9.331 MB / 359.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.1363, allocations: 269.3 kB / 360.2 MB, free: 3.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.152, allocations: 0 / 360.2 MB, free: 3.43 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches