Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009586/0.0009588, 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.001272/0.001272, 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.6/1.6, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 63.46 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002131/0.1524, allocations: 1.423 MB / 483.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.154, allocations: 0.948 MB / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.1541, allocations: 7.938 kB / 484.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.1544, allocations: 31.91 kB / 484.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1547, allocations: 71.73 kB / 484.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.155, allocations: 95.77 kB / 484.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1553, allocations: 91.67 kB / 484.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1554, allocations: 16 kB / 484.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1555, allocations: 39.78 kB / 484.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.232e-05/0.1556, allocations: 31.84 kB / 484.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1556, allocations: 0 / 484.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.1557, allocations: 35.98 kB / 484.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.1558, allocations: 15.92 kB / 484.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.1559, allocations: 45.58 kB / 485 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1561, allocations: 92.08 kB / 485.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1561, allocations: 4 kB / 485.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1561, allocations: 0 / 485.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1561, allocations: 0 / 485.1 MB, free: 2.43 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.0005574/0.1567, allocations: 406.8 kB / 485.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1567, allocations: 8.031 kB / 485.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.1568, allocations: 11.91 kB / 485.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.157, allocations: 210.7 kB / 485.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.157, allocations: 4 kB / 485.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.1571, allocations: 4 kB / 485.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1572, allocations: 53.67 kB / 485.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1572, allocations: 0 / 485.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1573, allocations: 7.984 kB / 485.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1573, allocations: 3.984 kB / 485.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.1574, allocations: 19.94 kB / 485.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.1578, allocations: 288.9 kB / 486.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.158, allocations: 58.69 kB / 486.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.158, allocations: 20.84 kB / 486.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1581, allocations: 0 / 486.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1583, allocations: 71.33 kB / 486.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1583, allocations: 0 / 486.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005503/0.1588, allocations: 181 kB / 486.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1589, allocations: 55.36 kB / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1591, allocations: 206.9 kB / 486.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1591, allocations: 33.7 kB / 486.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.1592, allocations: 100.1 kB / 486.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1593, allocations: 31.62 kB / 486.8 MB, free: 496 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.1593, allocations: 4 kB / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1595, allocations: 322.8 kB / 487.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.1595, allocations: 27.98 kB / 487.1 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.1596, allocations: 33.7 kB / 487.2 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.1597, allocations: 24.06 kB / 487.2 MB, free: 68 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1597, allocations: 0 / 487.2 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.1599, allocations: 97.53 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1599, allocations: 7.984 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1599, allocations: 192 / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1599, allocations: 4.031 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.16, allocations: 27.88 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1601, allocations: 0 / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1601, allocations: 11.94 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1601, allocations: 0 / 487.3 MB, free: 15.91 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.000121/0.1603, allocations: 129.8 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.1603, allocations: 11.81 kB / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1603, allocations: 21.39 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1604, allocations: 4.375 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1604, allocations: 0 / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1604, allocations: 0 / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.1608, allocations: 403.3 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1609, allocations: 0 / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.1609, allocations: 8 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1609, allocations: 0 / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1609, allocations: 4 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1609, allocations: 3.953 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1609, allocations: 4.031 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1612, allocations: 204.1 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1613, allocations: 93 kB / 488.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1613, allocations: 4 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1614, allocations: 0 / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1614, allocations: 15.94 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1614, allocations: 8 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1616, allocations: 152.3 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1616, allocations: 0 / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1619, allocations: 35.92 kB / 488.4 MB, free: 14.73 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.163, allocations: 447 kB / 488.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1632, allocations: 59.97 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1633, allocations: 0 / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.1633, allocations: 32.06 kB / 489 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1637, allocations: 41.44 kB / 489 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1643, allocations: 287.9 kB / 489.3 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1646, allocations: 0.7083 MB / 490 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1646, allocations: 15.44 kB / 490 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1646, allocations: 0 / 490 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.003887/0.1685, allocations: 1.959 MB / 492 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.o] Error 1