Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008969/0.0008969, allocations: 95.5 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 198.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, 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.2512/0.2512, allocations: 45.91 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002756, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 63.47 MB / 482.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002214/0.1513, allocations: 1.415 MB / 483.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1532, allocations: 0.9441 MB / 484.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1533, allocations: 7.938 kB / 484.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1535, allocations: 35.89 kB / 484.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.1538, allocations: 75.73 kB / 484.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1541, allocations: 95.7 kB / 484.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1542, allocations: 87.7 kB / 484.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.1544, allocations: 8 kB / 484.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1545, allocations: 43.77 kB / 484.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.1546, allocations: 27.86 kB / 484.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1546, allocations: 4 kB / 484.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1548, allocations: 31.98 kB / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.1548, allocations: 23.91 kB / 484.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.1549, allocations: 37.64 kB / 485 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1551, allocations: 92.08 kB / 485.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1551, allocations: 4 kB / 485.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1551, allocations: 0 / 485.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1552, allocations: 7.938 kB / 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.0006783/0.1559, allocations: 402.8 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1559, allocations: 12.03 kB / 485.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1559, allocations: 7.906 kB / 485.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1562, allocations: 211.5 kB / 485.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1563, allocations: 0 / 485.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1563, allocations: 4 kB / 485.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1564, allocations: 53.67 kB / 485.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1564, allocations: 4 kB / 485.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1565, allocations: 4 kB / 485.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1565, allocations: 0 / 485.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1566, allocations: 23.92 kB / 485.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.157, allocations: 292.8 kB / 486.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1572, allocations: 58.69 kB / 486.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1573, allocations: 20.84 kB / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1573, allocations: 0 / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1575, allocations: 71.33 kB / 486.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1575, allocations: 0 / 486.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005059/0.158, allocations: 169.2 kB / 486.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1581, allocations: 59.36 kB / 486.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1583, allocations: 195.4 kB / 486.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1583, allocations: 25.7 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.1584, allocations: 112.1 kB / 486.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1584, allocations: 23.66 kB / 486.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.1585, allocations: 0 / 486.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1586, allocations: 322.8 kB / 487.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.1587, allocations: 23.98 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.1588, allocations: 37.7 kB / 487.2 MB, free: 124 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.1588, allocations: 20 kB / 487.2 MB, free: 104 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1588, allocations: 0 / 487.2 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.1591, allocations: 113.5 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1591, allocations: 4 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1591, allocations: 0 / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1591, allocations: 0 / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1592, allocations: 16 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1592, allocations: 7.953 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1593, allocations: 8.141 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1593, allocations: 4 kB / 487.3 MB, free: 15.94 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.0001106/0.1594, allocations: 125.8 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1594, allocations: 15.89 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1595, allocations: 13.41 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1595, allocations: 0 / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1595, allocations: 4 kB / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1595, allocations: 0 / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.16, allocations: 399.2 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.16, allocations: 4 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.16, allocations: 4 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.16, allocations: 4 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.1601, allocations: 384 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1601, allocations: 3.953 kB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.1601, allocations: 8.234 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1603, allocations: 216.1 kB / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.1604, allocations: 85.02 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1604, allocations: 4 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1605, allocations: 4 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1605, allocations: 7.938 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1605, allocations: 8 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1607, allocations: 152.2 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1607, allocations: 0 / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.161, allocations: 35.83 kB / 488.4 MB, free: 14.77 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.00104/0.162, allocations: 458.7 kB / 488.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1622, allocations: 51.92 kB / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1622, allocations: 0 / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.1623, allocations: 35.92 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1626, allocations: 26.98 kB / 489 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.1632, allocations: 275.9 kB / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.1635, allocations: 0.7043 MB / 489.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.1635, allocations: 19.42 kB / 489.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1636, allocations: 4 kB / 489.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004216/0.1678, allocations: 1.931 MB / 491.9 MB, free: 11.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.o] Error 1