Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001156, allocations: 93.12 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 192.1 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, 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.25/0.25, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 15.98 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 63.47 MB / 482.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.0024/0.1469, allocations: 1.419 MB / 483.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1487, allocations: 0.9441 MB / 484.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1488, allocations: 3.938 kB / 484.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1492, allocations: 43.84 kB / 484.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.1496, allocations: 75.73 kB / 484.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.15, allocations: 91.08 kB / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1502, allocations: 95.67 kB / 484.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1503, allocations: 4 kB / 484.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1505, allocations: 35.8 kB / 484.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.1506, allocations: 43.77 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1506, allocations: 4 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1507, allocations: 28 kB / 484.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.1508, allocations: 23.91 kB / 484.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1509, allocations: 37.64 kB / 485 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1511, allocations: 92.09 kB / 485.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1511, allocations: 0 / 485.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1511, allocations: 0 / 485.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1511, allocations: 0 / 485.1 MB, free: 2.426 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.0006283/0.1517, allocations: 410.8 kB / 485.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1518, allocations: 8.031 kB / 485.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.1518, allocations: 11.91 kB / 485.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.1521, allocations: 214.7 kB / 485.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1522, allocations: 3.938 kB / 485.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1522, allocations: 4 kB / 485.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1524, allocations: 53.67 kB / 485.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1524, allocations: 3.984 kB / 485.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1524, allocations: 0 / 485.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1524, allocations: 0 / 485.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.1525, allocations: 23.98 kB / 485.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.1531, allocations: 292.9 kB / 486.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1533, allocations: 50.62 kB / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.1533, allocations: 20.84 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1534, allocations: 12 kB / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1536, allocations: 59.39 kB / 486.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1536, allocations: 0 / 486.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005707/0.1542, allocations: 185 kB / 486.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1542, allocations: 59.36 kB / 486.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1545, allocations: 206.8 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1545, allocations: 25.7 kB / 486.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.1546, allocations: 112.1 kB / 486.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1546, allocations: 27.69 kB / 486.8 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.1546, allocations: 4 kB / 486.8 MB, free: 480 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1548, allocations: 322.8 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.1548, allocations: 23.92 kB / 487.2 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.1549, allocations: 33.7 kB / 487.2 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.466e-05/0.155, allocations: 32 kB / 487.2 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.155, allocations: 0 / 487.2 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.1552, allocations: 93.53 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1552, allocations: 4 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1553, allocations: 4 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1553, allocations: 3.938 kB / 487.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.1554, allocations: 15.98 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1554, allocations: 0 / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1555, allocations: 11.95 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1555, allocations: 4.406 kB / 487.4 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.0001109/0.1556, allocations: 129.8 kB / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1556, allocations: 19.81 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.1557, allocations: 17.39 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1557, allocations: 3.938 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.1557, allocations: 8 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1557, allocations: 0 / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1562, allocations: 395.3 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1562, allocations: 3.938 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1563, allocations: 11.98 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1563, allocations: 0 / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1563, allocations: 0 / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1563, allocations: 7.953 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1563, allocations: 0 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1566, allocations: 204.2 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.1566, allocations: 89 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1567, allocations: 4 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.1568, allocations: 4 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.1568, allocations: 19.86 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1568, allocations: 192 / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.157, allocations: 160.3 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.157, allocations: 3.938 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1573, allocations: 27.98 kB / 488.4 MB, free: 14.71 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.001237/0.1585, allocations: 452.2 kB / 488.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1587, allocations: 55.91 kB / 488.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1587, allocations: 8.062 kB / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.1588, allocations: 27.92 kB / 489 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1592, allocations: 39.86 kB / 489 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1598, allocations: 275.9 kB / 489.3 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1601, allocations: 0.7121 MB / 490 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1602, allocations: 15.44 kB / 490 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1602, allocations: 0 / 490 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004971/0.1652, allocations: 1.946 MB / 491.9 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.o] Error 1