Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008161/0.0008161, allocations: 96.41 kB / 17.64 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000852/0.000852, allocations: 202 kB / 18.54 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1759, allocations: 63.46 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00231/0.1782, allocations: 1.415 MB / 483.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1798, allocations: 0.9441 MB / 484.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.1799, allocations: 3.938 kB / 484.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1802, allocations: 39.89 kB / 484.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.1805, allocations: 71.75 kB / 484.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1808, allocations: 95.02 kB / 484.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1809, allocations: 87.69 kB / 484.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.181, allocations: 15.98 kB / 484.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.1811, allocations: 43.77 kB / 484.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.1812, allocations: 27.86 kB / 484.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1812, allocations: 0 / 484.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.1813, allocations: 31.98 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1814, allocations: 23.91 kB / 484.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.1815, allocations: 41.58 kB / 485 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1816, allocations: 88.11 kB / 485 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1816, allocations: 0 / 485 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1816, allocations: 4 kB / 485 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1817, allocations: 0 / 485 MB, free: 2.449 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005671/0.1822, allocations: 414.7 kB / 485.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1823, allocations: 8.031 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.1823, allocations: 7.906 kB / 485.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1826, allocations: 207.5 kB / 485.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1826, allocations: 4 kB / 485.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1826, allocations: 0 / 485.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1828, allocations: 57.67 kB / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1828, allocations: 0 / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1828, allocations: 0 / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1828, allocations: 4 kB / 485.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.1829, allocations: 19.92 kB / 485.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1834, allocations: 288.8 kB / 486 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1835, allocations: 62.67 kB / 486.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1836, allocations: 24.84 kB / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1836, allocations: 3.938 kB / 486.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1838, allocations: 67.38 kB / 486.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1838, allocations: 0 / 486.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.1844, allocations: 169.2 kB / 486.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1845, allocations: 67.36 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1847, allocations: 187.4 kB / 486.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1847, allocations: 25.7 kB / 486.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.1848, allocations: 116.1 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1849, allocations: 23.66 kB / 486.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1849, allocations: 0 / 486.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.185, allocations: 322.8 kB / 487.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.1851, allocations: 19.98 kB / 487.1 MB, free: 184 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.1852, allocations: 41.7 kB / 487.1 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.1852, allocations: 20 kB / 487.2 MB, free: 116 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1852, allocations: 3.938 kB / 487.2 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.1854, allocations: 109.6 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1855, allocations: 4 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1855, allocations: 4.188 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1855, allocations: 0 / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.1856, allocations: 23.91 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1856, allocations: 0 / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1857, allocations: 11.94 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1857, allocations: 4 kB / 487.3 MB, free: 15.95 MB / 366.1 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 (10): * Single equations (assignments): 10 * 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.0001044/0.1858, allocations: 121.8 kB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1858, allocations: 7.906 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.1858, allocations: 21.39 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1859, allocations: 0 / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1859, allocations: 0 / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1859, allocations: 4 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1863, allocations: 395.3 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1863, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1864, allocations: 8 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1864, allocations: 0 / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1864, allocations: 8 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1864, allocations: 3.953 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1864, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1866, allocations: 212.1 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.1867, allocations: 93 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1867, allocations: 384 / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.1868, allocations: 4 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1869, allocations: 11.94 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1869, allocations: 12 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.187, allocations: 156.2 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.187, allocations: 0 / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1873, allocations: 27.84 kB / 488.4 MB, free: 14.78 MB / 366.1 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 (8): * Single equations (assignments): 6 * 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.00119/0.1885, allocations: 460.6 kB / 488.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1887, allocations: 51.98 kB / 488.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1887, allocations: 0 / 488.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.1888, allocations: 31.92 kB / 488.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1892, allocations: 27.67 kB / 488.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.1897, allocations: 279.9 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1902, allocations: 0.7004 MB / 489.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.1902, allocations: 19.44 kB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1902, allocations: 0 / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004044/0.1943, allocations: 1.932 MB / 491.9 MB, free: 11.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.o] Error 1