Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000941/0.000941, allocations: 89.23 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 201.9 kB / 18.54 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.675/1.675, 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.2465/0.2465, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002639, allocations: 16 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002604/0.1547, allocations: 1.891 MB / 484 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.157, allocations: 1.276 MB / 485.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1571, allocations: 3.938 kB / 485.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1576, allocations: 123.6 kB / 485.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.158, allocations: 219.2 kB / 485.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.1587, allocations: 274.1 kB / 485.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.1592, allocations: 406.6 kB / 486.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1593, allocations: 53.25 kB / 486.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.1597, allocations: 247 kB / 486.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1599, allocations: 155.2 kB / 486.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.1599, allocations: 8 kB / 486.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1601, allocations: 55.98 kB / 486.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1602, allocations: 135.4 kB / 486.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.1603, allocations: 105.4 kB / 487 MB, free: 476 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.1607, allocations: 343.5 kB / 487.4 MB, free: 132 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1607, allocations: 0 / 487.4 MB, free: 132 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1607, allocations: 3.938 kB / 487.4 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1607, allocations: 0 / 487.4 MB, free: 128 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00106/0.1618, allocations: 0.7973 MB / 488.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1618, allocations: 12.03 kB / 488.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.1619, allocations: 71.05 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.1624, allocations: 411.5 kB / 488.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1625, allocations: 11.98 kB / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.1625, allocations: 20 kB / 488.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.1629, allocations: 201.4 kB / 488.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.1629, allocations: 7.906 kB / 488.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.163, allocations: 4 kB / 488.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.163, allocations: 4 kB / 488.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.1632, allocations: 87.88 kB / 489 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.1641, allocations: 0.8249 MB / 489.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/0.1648, allocations: 254.4 kB / 490.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.165, allocations: 91.52 kB / 490.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.165, allocations: 12.22 kB / 490.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/0.1654, allocations: 200.4 kB / 490.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.1654, allocations: 0 / 490.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002331/0.1677, allocations: 1.164 MB / 491.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.1678, allocations: 136.5 kB / 491.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/0.1688, allocations: 0.9613 MB / 492.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.1689, allocations: 41.7 kB / 492.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1691, allocations: 265 kB / 492.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1692, allocations: 138.1 kB / 493.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.1692, allocations: 8 kB / 493.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1694, allocations: 326 kB / 493.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.1696, allocations: 116.8 kB / 493.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1698, allocations: 179.2 kB / 493.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.1701, allocations: 136.3 kB / 493.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1701, allocations: 0 / 493.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006776/0.1708, allocations: 444.4 kB / 494.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1708, allocations: 4 kB / 494.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1708, allocations: 4 kB / 494.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1708, allocations: 4 kB / 494.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.1711, allocations: 83.91 kB / 494.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1711, allocations: 7.984 kB / 494.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.1713, allocations: 24.08 kB / 494.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.1713, allocations: 20 kB / 494.4 MB, free: 8.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002776/0.1716, allocations: 267.7 kB / 494.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.1717, allocations: 75.06 kB / 494.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1718, allocations: 89.73 kB / 494.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.1719, allocations: 8 kB / 494.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1719, allocations: 0 / 494.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1719, allocations: 0 / 494.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.1735, allocations: 1.342 MB / 496.2 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1735, allocations: 0 / 496.2 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1737, allocations: 59.91 kB / 496.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1737, allocations: 4 kB / 496.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.1738, allocations: 23.98 kB / 496.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.1738, allocations: 7.938 kB / 496.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1738, allocations: 256 / 496.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/0.1747, allocations: 0.7889 MB / 497 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.1749, allocations: 196.1 kB / 497.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.175, allocations: 12 kB / 497.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.1752, allocations: 23.98 kB / 497.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.1754, allocations: 43.84 kB / 497.3 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.1754, allocations: 23.98 kB / 497.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000764/0.1762, allocations: 0.6943 MB / 498 MB, free: 4.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1762, allocations: 0 / 498 MB, free: 4.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.1767, allocations: 91.98 kB / 498.1 MB, free: 4.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001311/0.178, allocations: 0.5421 MB / 498.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.1786, allocations: 295.7 kB / 499 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1786, allocations: 0 / 499 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.1789, allocations: 164.4 kB / 499.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.1798, allocations: 118.9 kB / 499.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1816, allocations: 1.365 MB / 0.4889 GB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.1822, allocations: 0.9175 MB / 0.4898 GB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1823, allocations: 51.42 kB / 0.4898 GB, free: 1.531 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1823, allocations: 0 / 0.4898 GB, free: 1.531 MB / 366.1 MB Notification: Performance of Templates: time 0.01114/0.1935, allocations: 6.728 MB / 0.4964 GB, free: 10.82 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87CalcHelperMain.o] Error 1