Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009225, allocations: 92.09 kB / 17.63 MB, free: 6.137 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.001127/0.001127, allocations: 186 kB / 18.52 MB, free: 5.297 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.476/1.476, allocations: 223.2 MB / 242.5 MB, free: 304 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.2359/0.2359, allocations: 44.22 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12.62 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00256/0.1528, allocations: 1.579 MB / 473.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1543, allocations: 0.8387 MB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1545, allocations: 4 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1548, allocations: 39.83 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.155, allocations: 43.78 kB / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1553, allocations: 103.8 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1555, allocations: 131.5 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1556, allocations: 21.48 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.1557, allocations: 47.78 kB / 475 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.1558, allocations: 39.72 kB / 475 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1559, allocations: 7.984 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.156, allocations: 32 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.156, allocations: 23.92 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.1561, allocations: 41.64 kB / 475.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1563, allocations: 111.9 kB / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1563, allocations: 0 / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1563, allocations: 0 / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1563, allocations: 0 / 475.2 MB, free: 10.63 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000664/0.157, allocations: 454.9 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.157, allocations: 8.031 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.1571, allocations: 19.81 kB / 475.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1574, allocations: 214.8 kB / 475.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1574, allocations: 11.94 kB / 475.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1575, allocations: 4 kB / 475.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.1577, allocations: 116.2 kB / 476.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1578, allocations: 0 / 476.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1578, allocations: 4 kB / 476.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.1578, allocations: 4 kB / 476.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.158, allocations: 51.91 kB / 476.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.1586, allocations: 0.5164 MB / 476.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.159, allocations: 94.64 kB / 476.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1591, allocations: 44.83 kB / 476.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1591, allocations: 0 / 476.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.1594, allocations: 87.31 kB / 476.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1594, allocations: 0 / 476.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000478/0.1599, allocations: 149.8 kB / 477 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1599, allocations: 51.41 kB / 477.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1601, allocations: 191.5 kB / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1602, allocations: 29.64 kB / 477.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1602, allocations: 108 kB / 477.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1603, allocations: 31.64 kB / 477.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.1603, allocations: 4 kB / 477.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1604, allocations: 326.8 kB / 477.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.1605, allocations: 31.98 kB / 477.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.1606, allocations: 64.27 kB / 477.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1608, allocations: 47.92 kB / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1608, allocations: 0 / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002838/0.1611, allocations: 137.3 kB / 478 MB, free: 7.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1611, allocations: 6.344 kB / 478 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1611, allocations: 0 / 478 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1611, allocations: 4 kB / 478 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1612, allocations: 32.11 kB / 478 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1613, allocations: 0 / 478 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.1613, allocations: 19.84 kB / 478.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1614, allocations: 7.938 kB / 478.1 MB, free: 7.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.000116/0.1615, allocations: 130.3 kB / 478.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1615, allocations: 15.81 kB / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1616, allocations: 13.41 kB / 478.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1616, allocations: 4 kB / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1616, allocations: 0 / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1616, allocations: 3.984 kB / 478.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1618, allocations: 213.5 kB / 478.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1618, allocations: 0 / 478.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.1619, allocations: 12 kB / 478.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1619, allocations: 0 / 478.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1619, allocations: 7.938 kB / 478.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1619, allocations: 4 kB / 478.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1619, allocations: 3.938 kB / 478.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.1623, allocations: 196.8 kB / 478.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1624, allocations: 88.98 kB / 478.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1624, allocations: 3.984 kB / 478.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1625, allocations: 12 kB / 478.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1626, allocations: 12.05 kB / 478.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1626, allocations: 0 / 478.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1627, allocations: 141.2 kB / 478.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 478.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1629, allocations: 27.91 kB / 478.9 MB, free: 6.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001019/0.164, allocations: 419.3 kB / 479.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1643, allocations: 87.83 kB / 479.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1643, allocations: 0 / 479.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1644, allocations: 35.98 kB / 479.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1647, allocations: 36.11 kB / 479.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.1653, allocations: 324.1 kB / 479.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1657, allocations: 0.7126 MB / 480.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1657, allocations: 19.42 kB / 480.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1657, allocations: 0 / 480.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of Templates: time 0.004428/0.1702, allocations: 2.13 MB / 482.7 MB, free: 2.934 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.o] Error 1