Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009109/0.0009106, allocations: 94.52 kB / 17.63 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 197.9 kB / 18.54 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, 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.2601/0.2601, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002194/0.157, allocations: 1.435 MB / 483.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1586, allocations: 0.9519 MB / 484.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.1587, allocations: 3.938 kB / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.159, allocations: 79.81 kB / 484.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1593, allocations: 99.69 kB / 484.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1596, allocations: 103.1 kB / 484.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1598, allocations: 103.7 kB / 484.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.1599, allocations: 15.98 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.16, allocations: 47.78 kB / 485 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1601, allocations: 59.75 kB / 485 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1601, allocations: 0 / 485 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1602, allocations: 51.97 kB / 485.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.1603, allocations: 19.92 kB / 485.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.1604, allocations: 41.64 kB / 485.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1605, allocations: 104.1 kB / 485.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1606, allocations: 8 kB / 485.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1606, allocations: 0 / 485.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1606, allocations: 0 / 485.2 MB, free: 2.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005477/0.1611, allocations: 418.8 kB / 485.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1612, allocations: 8.031 kB / 485.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1612, allocations: 15.81 kB / 485.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1615, allocations: 224.2 kB / 485.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1615, allocations: 8 kB / 485.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1615, allocations: 7.938 kB / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1617, allocations: 61.66 kB / 486 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1617, allocations: 4 kB / 486 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1617, allocations: 0 / 486 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1617, allocations: 4 kB / 486 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.1618, allocations: 23.98 kB / 486 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1622, allocations: 304.8 kB / 486.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1625, allocations: 62.53 kB / 486.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1625, allocations: 28.97 kB / 486.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1626, allocations: 0 / 486.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1628, allocations: 75.31 kB / 486.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1628, allocations: 0 / 486.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007294/0.1635, allocations: 248.9 kB / 486.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1636, allocations: 55.41 kB / 486.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1638, allocations: 238.1 kB / 487 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1638, allocations: 29.7 kB / 487 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1639, allocations: 108.2 kB / 487.1 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.164, allocations: 35.53 kB / 487.2 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.164, allocations: 4 kB / 487.2 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1641, allocations: 326.8 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.1642, allocations: 31.98 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.1643, allocations: 41.7 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.1643, allocations: 28 kB / 487.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1643, allocations: 4 kB / 487.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002063/0.1646, allocations: 133.4 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1646, allocations: 4 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1646, allocations: 4.031 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1646, allocations: 0 / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1647, allocations: 31.88 kB / 487.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1647, allocations: 0 / 487.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.1648, allocations: 8 kB / 487.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1648, allocations: 0 / 487.8 MB, free: 15.53 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 (13): * Single equations (assignments): 13 * 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.0001076/0.1649, allocations: 134.4 kB / 487.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1649, allocations: 11.81 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.165, allocations: 21.39 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.165, allocations: 8 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.165, allocations: 3.953 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.165, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1655, allocations: 451.9 kB / 488.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1655, allocations: 4 kB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.1656, allocations: 15.98 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1656, allocations: 8.016 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1656, allocations: 8 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1656, allocations: 3.938 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1656, allocations: 4 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1659, allocations: 229 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.166, allocations: 92.92 kB / 488.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.166, allocations: 11.95 kB / 488.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1661, allocations: 7.984 kB / 488.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1661, allocations: 7.938 kB / 488.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1661, allocations: 11.98 kB / 488.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.1663, allocations: 168.4 kB / 488.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1663, allocations: 0 / 488.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1666, allocations: 31.98 kB / 489 MB, free: 14.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001169/0.1678, allocations: 0.5099 MB / 489.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1679, allocations: 75.91 kB / 489.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.168, allocations: 0 / 489.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.168, allocations: 39.92 kB / 489.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1684, allocations: 34.53 kB / 489.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.1689, allocations: 333.6 kB / 489.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1692, allocations: 0.72 MB / 490.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.1693, allocations: 23.42 kB / 490.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1693, allocations: 0 / 490.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Templates: time 0.004068/0.1733, allocations: 2.232 MB / 492.9 MB, free: 10.37 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35CalcHelperMain.o] Error 1