Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009022, allocations: 87.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.9 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 242.5 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.23 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002161/0.1494, allocations: 1.386 MB / 473.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1507, allocations: 0.8036 MB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.1508, allocations: 0 / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1511, allocations: 55.8 kB / 474.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1513, allocations: 55.81 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1516, allocations: 87.83 kB / 474.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1518, allocations: 87.69 kB / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1519, allocations: 12.16 kB / 474.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.152, allocations: 43.78 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.1521, allocations: 27.86 kB / 474.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1521, allocations: 8 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.1522, allocations: 35.97 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1523, allocations: 23.91 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1523, allocations: 41.64 kB / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1525, allocations: 104 kB / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1525, allocations: 0 / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1525, allocations: 0 / 475 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1525, allocations: 3.938 kB / 475 MB, free: 10.93 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.0005785/0.1531, allocations: 418.7 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1532, allocations: 12.03 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1532, allocations: 7.906 kB / 475.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1534, allocations: 218.7 kB / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1535, allocations: 0 / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1535, allocations: 4 kB / 475.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1537, allocations: 61.56 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1537, allocations: 0 / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1537, allocations: 0 / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1537, allocations: 0 / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/0.1538, allocations: 27.98 kB / 475.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.1542, allocations: 288.9 kB / 476 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1544, allocations: 66.61 kB / 476 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1544, allocations: 20.84 kB / 476.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1545, allocations: 8 kB / 476.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1547, allocations: 63.39 kB / 476.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1547, allocations: 0 / 476.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005663/0.1553, allocations: 185 kB / 476.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.1553, allocations: 51.41 kB / 476.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1556, allocations: 262.3 kB / 476.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1556, allocations: 29.7 kB / 476.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.1557, allocations: 116.1 kB / 476.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1558, allocations: 27.69 kB / 476.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1558, allocations: 0 / 476.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.156, allocations: 330.8 kB / 477.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.156, allocations: 16 kB / 477.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.1561, allocations: 37.64 kB / 477.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/0.1561, allocations: 27.98 kB / 477.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1562, allocations: 4 kB / 477.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.1563, allocations: 97.5 kB / 477.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1564, allocations: 4 kB / 477.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1564, allocations: 0 / 477.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1564, allocations: 4 kB / 477.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1565, allocations: 19.92 kB / 477.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1565, allocations: 0 / 477.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.1566, allocations: 8.188 kB / 477.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1566, allocations: 0 / 477.3 MB, free: 8.336 MB / 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 (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.0001523/0.1568, allocations: 154.2 kB / 477.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1568, allocations: 15.81 kB / 477.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1568, allocations: 21.39 kB / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1569, allocations: 0 / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1569, allocations: 0 / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1569, allocations: 0 / 477.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.1573, allocations: 407.4 kB / 477.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1574, allocations: 4.031 kB / 477.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.1574, allocations: 8 kB / 477.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1574, allocations: 4 kB / 477.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1574, allocations: 3.938 kB / 477.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1574, allocations: 4.359 kB / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1574, allocations: 80 / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1577, allocations: 220.1 kB / 478.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.1578, allocations: 88.92 kB / 478.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1578, allocations: 4 kB / 478.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1579, allocations: 11.98 kB / 478.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1579, allocations: 4 kB / 478.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1579, allocations: 0 / 478.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1581, allocations: 200.5 kB / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1581, allocations: 0 / 478.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1584, allocations: 24 kB / 478.5 MB, free: 7.082 MB / 350.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.001177/0.1596, allocations: 472.7 kB / 478.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1598, allocations: 55.97 kB / 479 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1598, allocations: 64 / 479 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.1598, allocations: 35.92 kB / 479 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1602, allocations: 31.88 kB / 479.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1607, allocations: 320.7 kB / 479.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1611, allocations: 0.7199 MB / 480.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.1611, allocations: 15.44 kB / 480.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1611, allocations: 0 / 480.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Templates: time 0.004108/0.1652, allocations: 2.043 MB / 482.1 MB, free: 3.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.o] Error 1