Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007114/0.0007115, allocations: 95.47 kB / 17.63 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.0008799/0.0008799, allocations: 195 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.3 MB / 246.6 MB, free: 10.28 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.93 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003081, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 63.46 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002703/0.1694, allocations: 1.501 MB / 483.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1713, allocations: 1.038 MB / 484.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1714, allocations: 3.938 kB / 484.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.172, allocations: 291.4 kB / 485 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.1724, allocations: 219.4 kB / 485.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.1728, allocations: 151.1 kB / 485.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.1731, allocations: 219.3 kB / 485.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.1732, allocations: 9.688 kB / 485.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1734, allocations: 119.5 kB / 485.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1736, allocations: 163.5 kB / 485.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1736, allocations: 4 kB / 485.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1737, allocations: 35.92 kB / 485.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1739, allocations: 135.6 kB / 486 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.174, allocations: 77.45 kB / 486.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1743, allocations: 279.8 kB / 486.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1743, allocations: 4 kB / 486.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1743, allocations: 0 / 486.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1743, allocations: 0 / 486.3 MB, free: 1.145 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.0008737/0.1752, allocations: 0.6687 MB / 487 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1752, allocations: 8.031 kB / 487 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.1753, allocations: 55.34 kB / 487.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.1759, allocations: 427 kB / 487.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1759, allocations: 4 kB / 487.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.176, allocations: 4 kB / 487.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1762, allocations: 87.34 kB / 487.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1762, allocations: 3.984 kB / 487.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1762, allocations: 4 kB / 487.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1762, allocations: 3.938 kB / 487.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1763, allocations: 35.91 kB / 487.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1768, allocations: 382.3 kB / 488 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1771, allocations: 109.2 kB / 488.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1772, allocations: 37.7 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1772, allocations: 4 kB / 488.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.1775, allocations: 105 kB / 488.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1775, allocations: 0 / 488.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004576/0.1779, allocations: 197 kB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.178, allocations: 81.11 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.1791, allocations: 1.03 MB / 489.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1792, allocations: 29.7 kB / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1794, allocations: 236.1 kB / 489.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.1794, allocations: 23.66 kB / 489.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1794, allocations: 4 kB / 489.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1796, allocations: 374.7 kB / 490.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.1797, allocations: 27.98 kB / 490.2 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.1798, allocations: 59.42 kB / 490.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.1799, allocations: 31.98 kB / 490.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1799, allocations: 4 kB / 490.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002843/0.1802, allocations: 164.9 kB / 490.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1802, allocations: 6.25 kB / 490.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1802, allocations: 7.938 kB / 490.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1803, allocations: 8.609 kB / 490.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1804, allocations: 16 kB / 490.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1804, allocations: 4 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.1805, allocations: 11.98 kB / 490.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1805, allocations: 4 kB / 490.5 MB, free: 12.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002577/0.1808, allocations: 230.2 kB / 490.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1808, allocations: 51.34 kB / 490.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.181, allocations: 64.09 kB / 490.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.181, allocations: 0 / 490.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.181, allocations: 0 / 490.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.181, allocations: 0 / 490.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.1813, allocations: 349.3 kB / 491.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1813, allocations: 0 / 491.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.1814, allocations: 11.94 kB / 491.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1814, allocations: 0 / 491.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1814, allocations: 7.984 kB / 491.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1814, allocations: 0 / 491.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1814, allocations: 4 kB / 491.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1818, allocations: 201.2 kB / 491.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.1819, allocations: 148.4 kB / 491.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.182, allocations: 4 kB / 491.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.1821, allocations: 4 kB / 491.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1821, allocations: 15.97 kB / 491.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1821, allocations: 8 kB / 491.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008635/0.183, allocations: 0.7643 MB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.183, allocations: 0 / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1833, allocations: 40 kB / 492.4 MB, free: 10.69 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001047/0.1843, allocations: 410.4 kB / 492.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1846, allocations: 83.89 kB / 492.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1846, allocations: 4.125 kB / 492.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1847, allocations: 43.92 kB / 493 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1851, allocations: 58.27 kB / 493 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1865, allocations: 0.9456 MB / 494 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.187, allocations: 0.8468 MB / 494.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.1871, allocations: 23.44 kB / 494.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1871, allocations: 0 / 494.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of Templates: time 0.00871/0.1958, allocations: 5.004 MB / 499.8 MB, free: 3.355 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68CalcHelperMain.o] Error 1