Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002153/0.002153, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 222.5 MB, free: 9.082 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.0009068/0.0009069, allocations: 85.48 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4408/0.4408, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000619/0.0006191, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1778, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002262/0.1801, allocations: 1.394 MB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1814, allocations: 0.7461 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.1815, allocations: 7.938 kB / 492.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1819, allocations: 39.88 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1821, allocations: 47.83 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1824, allocations: 71.86 kB / 492.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1826, allocations: 107.7 kB / 492.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.1827, allocations: 12.22 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1828, allocations: 47.78 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.1829, allocations: 39.83 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1829, allocations: 4 kB / 492.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.183, allocations: 28 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1831, allocations: 31.83 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1832, allocations: 37.64 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1834, allocations: 96.08 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1834, allocations: 0 / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1834, allocations: 4 kB / 492.9 MB, free: 8.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1834, allocations: 0 / 492.9 MB, free: 8.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000611/0.184, allocations: 414.8 kB / 493.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1841, allocations: 12.02 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.1841, allocations: 11.91 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1844, allocations: 215.4 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1844, allocations: 4 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1844, allocations: 0 / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1846, allocations: 77.66 kB / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1846, allocations: 0 / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1847, allocations: 0 / 493.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.1847, allocations: 3.953 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1848, allocations: 43.95 kB / 493.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1852, allocations: 300.8 kB / 494 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.1854, allocations: 86.66 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.1855, allocations: 24.86 kB / 494.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1856, allocations: 3.984 kB / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.1858, allocations: 75.34 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.1858, allocations: 3.938 kB / 494.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006362/0.1864, allocations: 233.1 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1865, allocations: 51.41 kB / 494.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1867, allocations: 188.7 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1867, allocations: 29.7 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.1868, allocations: 104.3 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1868, allocations: 23.66 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1868, allocations: 0 / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.187, allocations: 330.8 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.187, allocations: 24 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.1871, allocations: 53.62 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.1872, allocations: 32 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1872, allocations: 0 / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002403/0.1875, allocations: 137.3 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1875, allocations: 4 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1875, allocations: 0 / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1875, allocations: 4 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1876, allocations: 24.02 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1877, allocations: 0 / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.1877, allocations: 4 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1877, allocations: 0 / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.1878, allocations: 133.6 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1879, allocations: 19.7 kB / 495.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.1879, allocations: 29.38 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1879, allocations: 0 / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.188, allocations: 0 / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.188, allocations: 4 kB / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.1885, allocations: 435.4 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1885, allocations: 0 / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.1885, allocations: 12 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1885, allocations: 0 / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1886, allocations: 7.984 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1886, allocations: 4 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1886, allocations: 0 / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1888, allocations: 224.2 kB / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.1889, allocations: 96.89 kB / 496.3 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1889, allocations: 8 kB / 496.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.189, allocations: 4 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1891, allocations: 7.984 kB / 496.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1891, allocations: 12 kB / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1892, allocations: 140.9 kB / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1892, allocations: 0 / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.1895, allocations: 24 kB / 496.5 MB, free: 4.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0009695/0.1904, allocations: 476.7 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1907, allocations: 79.84 kB / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1907, allocations: 0 / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.1908, allocations: 43.92 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1911, allocations: 19.98 kB / 497.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.1917, allocations: 288 kB / 497.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1921, allocations: 0.7202 MB / 498.1 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1921, allocations: 23.38 kB / 498.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1921, allocations: 0 / 498.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of Templates: time 0.004146/0.1963, allocations: 2.08 MB / 0.4885 GB, free: 0.832 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches