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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007419/0.0007423, allocations: 88.78 kB / 16.65 MB, free: 6.535 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.0007407/0.0007406, allocations: 177.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 4 kB / 301.5 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08914, allocations: 50.41 MB / 351.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003043/0.09222, allocations: 2.541 MB / 354.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.09421, allocations: 1.153 MB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.09447, allocations: 4 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.09499, allocations: 167.4 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005192/0.09552, allocations: 183 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.09599, allocations: 158.9 kB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.09661, allocations: 422 kB / 356.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.09681, allocations: 99.72 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.09711, allocations: 163.3 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.09741, allocations: 199.1 kB / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.09747, allocations: 23.94 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.09764, allocations: 59.97 kB / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.09775, allocations: 71.75 kB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.09796, allocations: 212.6 kB / 357.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.09843, allocations: 462.5 kB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09845, allocations: 4 kB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09845, allocations: 0 / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.09847, allocations: 4 kB / 357.8 MB, free: 13.45 MB / 302.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.0008944/0.09937, allocations: 0.6191 MB / 358.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.09943, allocations: 8.031 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.09953, allocations: 59.08 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.09962, allocations: 48.47 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.1001, allocations: 350.5 kB / 358.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1001, allocations: 12.81 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.1001, allocations: 27.88 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.1006, allocations: 301.5 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1006, allocations: 0 / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.1007, allocations: 8 kB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1007, allocations: 11.98 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.101, allocations: 149.7 kB / 359.4 MB, free: 11.74 MB / 302.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.001297/0.1023, allocations: 0.8439 MB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.1027, allocations: 190.3 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1028, allocations: 80.83 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1029, allocations: 7.938 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.1031, allocations: 123.3 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/0.1032, allocations: 8 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007844/0.1039, allocations: 410.4 kB / 361 MB, free: 9.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.1041, allocations: 316.4 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.1045, allocations: 429.7 kB / 361.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1046, allocations: 33.7 kB / 361.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1047, allocations: 208.2 kB / 362 MB, free: 8.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.1048, allocations: 78.91 kB / 362.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1048, allocations: 21.72 kB / 362.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.105, allocations: 350.8 kB / 362.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1051, allocations: 67.97 kB / 362.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.1053, allocations: 179.9 kB / 362.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1056, allocations: 167.3 kB / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1056, allocations: 0 / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004328/0.1061, allocations: 281.8 kB / 363.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1061, allocations: 4 kB / 363.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1061, allocations: 96 / 363.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.1062, allocations: 40.77 kB / 363.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1064, allocations: 51.86 kB / 363.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.1077, allocations: 1.472 MB / 364.7 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.108, allocations: 19.84 kB / 364.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.108, allocations: 16.03 kB / 364.7 MB, free: 5.98 MB / 302.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.0001646/0.1082, allocations: 172.7 kB / 364.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.1082, allocations: 39.53 kB / 364.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.1083, allocations: 39.59 kB / 365 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1083, allocations: 7.938 kB / 365 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.1083, allocations: 0 / 365 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004502/0.1088, allocations: 0.575 MB / 365.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.1096, allocations: 0.7117 MB / 366.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1096, allocations: 0 / 366.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1098, allocations: 43.92 kB / 366.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1098, allocations: 0 / 366.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1098, allocations: 11.98 kB / 366.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1098, allocations: 0 / 366.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1098, allocations: 0 / 366.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.1103, allocations: 405 kB / 366.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1105, allocations: 144.6 kB / 366.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.1105, allocations: 8 kB / 366.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1108, allocations: 15.98 kB / 366.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1108, allocations: 11.92 kB / 366.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1108, allocations: 8 kB / 366.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002873/0.1111, allocations: 315.1 kB / 367.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1111, allocations: 0 / 367.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.1115, allocations: 91.84 kB / 367.3 MB, free: 3.188 MB / 302.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.00152/0.113, allocations: 1.258 MB / 368.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1136, allocations: 308.5 kB / 368.9 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1136, allocations: 0 / 368.9 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1137, allocations: 79.91 kB / 368.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.1143, allocations: 105.6 kB / 369 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1493/0.2636, allocations: 3.558 MB / 372.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2639, allocations: 0.8021 MB / 373.4 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.2641, allocations: 42.88 kB / 373.4 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2643, allocations: 121.9 kB / 373.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2643, allocations: 1.219 kB / 373.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.2893, allocations: 9.324 MB / 382.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.2894, allocations: 275.2 kB / 383.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.201, allocations: 0 / 383.2 MB, free: 19.61 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches