Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007707/0.0007707, allocations: 88.67 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009354/0.0009354, allocations: 198.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.726/1.726, allocations: 227.3 MB / 246.6 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 45.92 MB / 344.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 12 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 63.45 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002741/0.1446, allocations: 1.38 MB / 483.5 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1464, allocations: 0.9324 MB / 484.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.1465, allocations: 0 / 484.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.1469, allocations: 63.8 kB / 484.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.1473, allocations: 83.72 kB / 484.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1476, allocations: 87.77 kB / 484.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1478, allocations: 95.67 kB / 484.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.568e-05/0.1479, allocations: 4.234 kB / 484.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.148, allocations: 43.78 kB / 484.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1482, allocations: 47.77 kB / 484.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1482, allocations: 0 / 484.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1483, allocations: 27.94 kB / 484.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.1483, allocations: 7.984 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.1484, allocations: 37.64 kB / 484.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1486, allocations: 84.09 kB / 485 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1486, allocations: 0 / 485 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1486, allocations: 0 / 485 MB, free: 2.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1486, allocations: 4 kB / 485 MB, free: 2.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000584/0.1492, allocations: 398.9 kB / 485.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1493, allocations: 12.02 kB / 485.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.1493, allocations: 11.81 kB / 485.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1496, allocations: 203.5 kB / 485.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1496, allocations: 4 kB / 485.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1496, allocations: 11.92 kB / 485.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1498, allocations: 45.69 kB / 485.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1498, allocations: 0 / 485.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1498, allocations: 7.984 kB / 485.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1498, allocations: 0 / 485.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.1499, allocations: 19.92 kB / 485.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.1502, allocations: 185.6 kB / 485.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1503, allocations: 50.61 kB / 485.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.1504, allocations: 20.84 kB / 486 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1504, allocations: 4 kB / 486 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1506, allocations: 67.33 kB / 486 MB, free: 1.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1506, allocations: 0 / 486 MB, free: 1.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000274/0.1509, allocations: 97.48 kB / 486.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.151, allocations: 51.41 kB / 486.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1512, allocations: 187.4 kB / 486.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1513, allocations: 29.7 kB / 486.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1513, allocations: 108.1 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1514, allocations: 3.906 kB / 486.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1514, allocations: 4 kB / 486.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1515, allocations: 326.8 kB / 486.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.1516, allocations: 15.98 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/0.1516, allocations: 25.72 kB / 486.9 MB, free: 420 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.1517, allocations: 23.92 kB / 486.9 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1517, allocations: 4 kB / 486.9 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001453/0.1519, allocations: 81.44 kB / 487 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1519, allocations: 8 kB / 487 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1519, allocations: 0 / 487 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1519, allocations: 0 / 487 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.152, allocations: 15.92 kB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.152, allocations: 4.141 kB / 487 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.1521, allocations: 4 kB / 487 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1521, allocations: 4 kB / 487 MB, free: 268 kB / 350.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 (7): * Single equations (assignments): 7 * 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.0001096/0.1522, allocations: 133.8 kB / 487.1 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.1522, allocations: 7.906 kB / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.1523, allocations: 13 kB / 487.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1523, allocations: 0 / 487.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1523, allocations: 7.938 kB / 487.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1523, allocations: 0 / 487.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1525, allocations: 197.7 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1525, allocations: 0 / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.1525, allocations: 8 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1525, allocations: 4 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1525, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1525, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1525, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1527, allocations: 105 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1528, allocations: 96.95 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1528, allocations: 0 / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.1528, allocations: 4 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1529, allocations: 11.98 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1529, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.153, allocations: 152.2 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1531, allocations: 0 / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.1533, allocations: 16 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009521/0.1542, allocations: 414.9 kB / 488.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1544, allocations: 43.92 kB / 488.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1544, allocations: 4.062 kB / 488.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.1545, allocations: 19.98 kB / 488.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1547, allocations: 26.92 kB / 488.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.1552, allocations: 246.8 kB / 488.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1555, allocations: 0.7013 MB / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.1555, allocations: 15.42 kB / 489.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1556, allocations: 7.938 kB / 489.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Templates: time 0.003518/0.1591, allocations: 1.699 MB / 490.9 MB, free: 12.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.o] Error 1