Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003186/0.003185, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.706/3.706, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00187/0.00187, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006561/0.0006568, allocations: 12 kB / 326.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1541, allocations: 47.59 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.006399/0.1606, allocations: 2.287 MB / 376.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.1651, allocations: 1.054 MB / 377.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.1657, allocations: 4 kB / 377.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000956/0.1667, allocations: 155.4 kB / 378 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.168, allocations: 203.5 kB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.1692, allocations: 115.7 kB / 378.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1706, allocations: 315.3 kB / 378.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.1711, allocations: 90.47 kB / 378.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.1718, allocations: 159.5 kB / 378.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.1723, allocations: 167.3 kB / 379.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1725, allocations: 16 kB / 379.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.1728, allocations: 40 kB / 379.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.173, allocations: 75.73 kB / 379.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.1733, allocations: 97.45 kB / 379.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009451/0.1743, allocations: 331.4 kB / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1743, allocations: 0 / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1743, allocations: 0 / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.1744, allocations: 0 / 379.6 MB, free: 10.33 MB / 282.7 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.002679/0.1771, allocations: 0.6345 MB / 380.2 MB, free: 9.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.646e-05/0.1772, allocations: 8.031 kB / 380.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.1775, allocations: 47.48 kB / 380.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1785, allocations: 305.7 kB / 380.6 MB, free: 9.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.1786, allocations: 20.42 kB / 380.6 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.1787, allocations: 16 kB / 380.6 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1799, allocations: 289.5 kB / 380.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.18, allocations: 3.906 kB / 380.9 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.1801, allocations: 16 kB / 380.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.1801, allocations: 4 kB / 380.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.1809, allocations: 141.7 kB / 381.1 MB, free: 8.73 MB / 282.7 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.003459/0.1844, allocations: 0.8091 MB / 381.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.1858, allocations: 211.8 kB / 382.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.315e-05/0.186, allocations: 4.188 kB / 382.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006891/0.1867, allocations: 127.5 kB / 382.2 MB, free: 7.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 4.809e-06/0.1867, allocations: 3.938 kB / 382.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.002232/0.189, allocations: 407.5 kB / 382.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003067/0.1893, allocations: 320.3 kB / 382.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1905, allocations: 405.7 kB / 383.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.1906, allocations: 33.7 kB / 383.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.191, allocations: 250.6 kB / 383.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.1912, allocations: 78.84 kB / 383.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1912, allocations: 8 kB / 383.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1915, allocations: 318.8 kB / 384 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.1919, allocations: 59.98 kB / 384.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.1925, allocations: 176 kB / 384.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.193, allocations: 81.45 kB / 384.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.193, allocations: 0 / 384.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001333/0.1944, allocations: 246.2 kB / 384.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.1945, allocations: 4 kB / 384.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.1945, allocations: 4 kB / 384.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.1948, allocations: 32.84 kB / 384.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.1955, allocations: 59.95 kB / 384.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.1991, allocations: 1.472 MB / 386.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/0.2, allocations: 19.84 kB / 386.1 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.2001, allocations: 12 kB / 386.2 MB, free: 3.234 MB / 282.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005057/0.2007, allocations: 161.9 kB / 386.3 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.2009, allocations: 43.47 kB / 386.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.2011, allocations: 43.58 kB / 386.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2011, allocations: 7.953 kB / 386.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2012, allocations: 0 / 386.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.2025, allocations: 0.5751 MB / 387 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.2049, allocations: 0.6965 MB / 387.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.205, allocations: 0 / 387.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.2057, allocations: 43.97 kB / 387.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.2058, allocations: 3.953 kB / 387.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.2059, allocations: 8 kB / 387.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.2059, allocations: 3.938 kB / 387.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.936e-06/0.2059, allocations: 4 kB / 387.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.2076, allocations: 402.8 kB / 388.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.2081, allocations: 132.5 kB / 388.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.2083, allocations: 11.95 kB / 388.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.209, allocations: 15.98 kB / 388.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2091, allocations: 11.98 kB / 388.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.2092, allocations: 12.06 kB / 388.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008941/0.2101, allocations: 299.1 kB / 388.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.2102, allocations: 96 / 388.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001196/0.2114, allocations: 91.86 kB / 388.7 MB, free: 496 kB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.2137, allocations: 411.8 kB / 389.1 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.3895/0.6033, allocations: 300.1 kB / 389.4 MB, free: 20.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.6034, allocations: 1.062 kB / 389.4 MB, free: 20.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.6039, allocations: 92.38 kB / 389.5 MB, free: 20.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6051, allocations: 93.39 kB / 389.6 MB, free: 20.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.6086, allocations: 0.9597 MB / 390.5 MB, free: 20.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.6092, allocations: 0.8042 MB / 391.3 MB, free: 19.58 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.6094, allocations: 30.12 kB / 391.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6095, allocations: 0 / 391.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of Templates: time 0.02252/0.632, allocations: 5.458 MB / 396.8 MB, free: 18.91 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches