Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008025/0.0008024, allocations: 92.73 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 196 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 45.91 MB / 344.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 63.47 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002362/0.1654, allocations: 1.411 MB / 483.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1675, allocations: 0.944 MB / 484.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1677, allocations: 3.938 kB / 484.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.1681, allocations: 39.83 kB / 484.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1684, allocations: 75.73 kB / 484.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1688, allocations: 91.33 kB / 484.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.169, allocations: 87.7 kB / 484.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1691, allocations: 8 kB / 484.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1692, allocations: 43.77 kB / 484.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.1693, allocations: 31.8 kB / 484.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1694, allocations: 0 / 484.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1695, allocations: 31.98 kB / 484.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1695, allocations: 23.91 kB / 484.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.1696, allocations: 33.7 kB / 485 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1698, allocations: 84.05 kB / 485 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.1698, allocations: 0 / 485 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1698, allocations: 0 / 485 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1698, 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.0006633/0.1705, allocations: 399 kB / 485.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1706, allocations: 11.97 kB / 485.4 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.1706, allocations: 15.91 kB / 485.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1709, allocations: 198.8 kB / 485.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1709, allocations: 8 kB / 485.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.171, allocations: 0 / 485.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1711, allocations: 57.61 kB / 485.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1712, allocations: 3.984 kB / 485.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1712, allocations: 8 kB / 485.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1712, allocations: 0 / 485.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.1713, allocations: 19.98 kB / 485.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1717, allocations: 288.8 kB / 486 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1719, allocations: 54.62 kB / 486.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1719, allocations: 24.84 kB / 486.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.172, allocations: 4 kB / 486.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.1722, allocations: 63.39 kB / 486.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1722, allocations: 0 / 486.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.1728, allocations: 177.2 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1728, allocations: 55.36 kB / 486.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.173, allocations: 174.2 kB / 486.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.173, allocations: 25.7 kB / 486.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.1731, allocations: 104.1 kB / 486.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1731, allocations: 23.66 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1731, allocations: 0 / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1733, allocations: 326.8 kB / 487 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.1733, allocations: 19.98 kB / 487.1 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.1734, allocations: 41.64 kB / 487.1 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.1735, allocations: 24 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1735, allocations: 0 / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.1737, allocations: 93.58 kB / 487.2 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1737, allocations: 8 kB / 487.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1737, allocations: 0 / 487.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1737, allocations: 3.938 kB / 487.2 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.1738, allocations: 19.92 kB / 487.2 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1738, allocations: 4 kB / 487.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.1739, allocations: 11.98 kB / 487.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1739, allocations: 4.109 kB / 487.3 MB, free: 15.99 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.0001088/0.174, allocations: 122 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.1741, allocations: 11.81 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.1741, allocations: 20.59 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1741, allocations: 0 / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1741, allocations: 0 / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1741, allocations: 0 / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.1746, allocations: 399.8 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1746, allocations: 0 / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.1746, allocations: 15.98 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1746, allocations: 0 / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1747, allocations: 3.938 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1747, allocations: 8.031 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1747, allocations: 3.984 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1749, allocations: 204.3 kB / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.175, allocations: 96.91 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.175, allocations: 0 / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.1751, allocations: 4 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1751, allocations: 7.938 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1752, allocations: 4 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1753, allocations: 127.2 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1753, allocations: 4 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1756, allocations: 27.98 kB / 488.3 MB, free: 14.85 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.001179/0.1767, allocations: 454.3 kB / 488.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.177, allocations: 55.98 kB / 488.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.177, allocations: 0 / 488.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.1771, allocations: 31.92 kB / 488.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1774, allocations: 27.42 kB / 488.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.1779, allocations: 252.2 kB / 489.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1783, allocations: 0.6965 MB / 489.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.1784, allocations: 23.44 kB / 489.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1784, allocations: 0 / 489.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.00433/0.1827, allocations: 1.887 MB / 491.7 MB, free: 11.54 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.o] Error 1