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.00107/0.00107, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001118/0.001118, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.281/1.281, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001232/0.001232, allocations: 56.14 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08277, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004387/0.0872, allocations: 2.847 MB / 330.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.0891, allocations: 1.166 MB / 331.4 MB, free: 336 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.08935, allocations: 11.94 kB / 331.4 MB, free: 324 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.0899, allocations: 187.1 kB / 331.6 MB, free: 136 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.09041, allocations: 206.8 kB / 331.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.09081, allocations: 151.6 kB / 331.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.09134, allocations: 450 kB / 332.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.09155, allocations: 99.77 kB / 332.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.09178, allocations: 175.3 kB / 332.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.09205, allocations: 211.1 kB / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.09213, allocations: 32 kB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.09229, allocations: 64 kB / 332.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.09239, allocations: 91.67 kB / 333 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.09257, allocations: 187 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.09304, allocations: 482.4 kB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.09305, allocations: 0 / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.09306, allocations: 0 / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.09308, allocations: 7.875 kB / 333.7 MB, free: 14.02 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.0009993/0.09408, allocations: 0.7007 MB / 334.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.09413, allocations: 8.031 kB / 334.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.537e-05/0.09423, allocations: 63.16 kB / 334.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.09433, allocations: 48.38 kB / 334.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.09475, allocations: 338.7 kB / 334.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.09478, allocations: 20.8 kB / 334.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.09483, allocations: 23.84 kB / 334.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.09528, allocations: 301.5 kB / 335.2 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.0953, allocations: 4 kB / 335.2 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.09534, allocations: 8 kB / 335.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.09535, allocations: 8 kB / 335.2 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.09564, allocations: 149.7 kB / 335.3 MB, free: 12.23 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.001242/0.0969, allocations: 0.8515 MB / 336.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.09727, allocations: 187.1 kB / 336.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.09742, allocations: 76.83 kB / 336.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.09746, allocations: 11.94 kB / 336.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.09772, allocations: 135.3 kB / 336.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.824e-06/0.09773, allocations: 0 / 336.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008012/0.09854, allocations: 402.9 kB / 337 MB, free: 10.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.09867, allocations: 312.4 kB / 337.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.09911, allocations: 433.7 kB / 337.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.09914, allocations: 33.7 kB / 337.8 MB, free: 9.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.09929, allocations: 204.2 kB / 338 MB, free: 9.402 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.09936, allocations: 82.89 kB / 338 MB, free: 9.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.09945, allocations: 61.7 kB / 338.1 MB, free: 9.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.0996, allocations: 350.8 kB / 338.4 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.09974, allocations: 55.98 kB / 338.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.09996, allocations: 175.9 kB / 338.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1003, allocations: 187.2 kB / 338.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1003, allocations: 0 / 338.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004479/0.1007, allocations: 265.9 kB / 339.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1007, allocations: 4 kB / 339.1 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1008, allocations: 0 / 339.1 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.1009, allocations: 40.92 kB / 339.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1011, allocations: 51.92 kB / 339.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.1025, allocations: 1.578 MB / 340.8 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1027, allocations: 19.84 kB / 340.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1027, allocations: 8 kB / 340.8 MB, free: 6.32 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.0001732/0.1029, allocations: 169.8 kB / 341 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.103, allocations: 43.56 kB / 341 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.1031, allocations: 47.52 kB / 341.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1031, allocations: 4 kB / 341.1 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1031, allocations: 0 / 341.1 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004987/0.1036, allocations: 0.5834 MB / 341.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.1044, allocations: 0.7078 MB / 342.4 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1045, allocations: 0 / 342.4 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.1047, allocations: 51.91 kB / 342.4 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1047, allocations: 7.938 kB / 342.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1047, allocations: 4 kB / 342.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1047, allocations: 0 / 342.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1047, allocations: 0 / 342.4 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.1052, allocations: 406.7 kB / 342.8 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1054, allocations: 140.6 kB / 343 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.1054, allocations: 8 kB / 343 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1057, allocations: 11.98 kB / 343 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1057, allocations: 15.92 kB / 343 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1057, allocations: 11.98 kB / 343 MB, free: 3.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003095/0.1061, allocations: 311.2 kB / 343.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1061, allocations: 0 / 343.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.1065, allocations: 99.86 kB / 343.4 MB, free: 3.512 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.001643/0.1081, allocations: 1.246 MB / 344.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000585/0.1087, allocations: 318.4 kB / 345 MB, free: 1.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1087, allocations: 4.125 kB / 345 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1089, allocations: 87.91 kB / 345 MB, free: 1.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.1094, allocations: 101.4 kB / 345.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.1136, allocations: 3.407 MB / 348.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.114, allocations: 0.7999 MB / 349.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1142, allocations: 42.95 kB / 349.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.1144, allocations: 127.4 kB / 349.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1144, allocations: 0 / 349.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.1581, allocations: 9.978 MB / 359.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.33, allocations: 15.88 kB / 359.5 MB, free: 3.172 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches