Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001234, allocations: 88.03 kB / 17.63 MB, free: 6.133 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.001663/0.001663, allocations: 184.1 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.513/1.513, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 44.22 MB / 337.9 MB, free: 2.594 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 13.22 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002475/0.1469, allocations: 1.464 MB / 473.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1487, allocations: 0.8855 MB / 474.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1488, allocations: 3.938 kB / 474.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.1494, allocations: 295.4 kB / 474.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.1497, allocations: 175.6 kB / 475 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.1501, allocations: 151.1 kB / 475.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1504, allocations: 207.4 kB / 475.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.937e-05/0.1505, allocations: 9.562 kB / 475.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1507, allocations: 111.6 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1509, allocations: 163.5 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.151, allocations: 0 / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.1511, allocations: 39.92 kB / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1512, allocations: 131.6 kB / 475.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.1514, allocations: 73.45 kB / 475.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1517, allocations: 271.8 kB / 476.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1517, allocations: 0 / 476.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1517, allocations: 8 kB / 476.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1517, allocations: 0 / 476.2 MB, free: 9.75 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.0009867/0.1527, allocations: 0.6554 MB / 476.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.1528, allocations: 12.56 kB / 476.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.1529, allocations: 47.34 kB / 476.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1534, allocations: 423 kB / 477.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1535, allocations: 4 kB / 477.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1535, allocations: 8 kB / 477.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1537, allocations: 87.31 kB / 477.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1537, allocations: 0 / 477.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1537, allocations: 3.984 kB / 477.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1537, allocations: 0 / 477.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1538, allocations: 31.92 kB / 477.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.1544, allocations: 374.3 kB / 477.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1547, allocations: 101.2 kB / 477.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/0.1548, allocations: 41.69 kB / 477.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1548, allocations: 3.938 kB / 477.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.1551, allocations: 113 kB / 478 MB, free: 7.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1552, allocations: 0 / 478 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005204/0.1557, allocations: 201.4 kB / 478.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1557, allocations: 81.09 kB / 478.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.1569, allocations: 1.007 MB / 479.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1569, allocations: 29.7 kB / 479.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1571, allocations: 228.1 kB / 479.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1571, allocations: 27.7 kB / 479.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.1572, allocations: 4 kB / 479.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1573, allocations: 366.7 kB / 480 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1574, allocations: 27.98 kB / 480 MB, free: 5.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1575, allocations: 67.41 kB / 480.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/0.1576, allocations: 28 kB / 480.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1576, allocations: 0 / 480.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.1579, allocations: 164.9 kB / 480.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.158, allocations: 7.953 kB / 480.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.158, allocations: 4 kB / 480.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.158, allocations: 4.062 kB / 480.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1581, allocations: 27.92 kB / 480.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1581, allocations: 0 / 480.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.1582, allocations: 11.94 kB / 480.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1583, allocations: 11.92 kB / 480.3 MB, free: 5.332 MB / 350.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.0002264/0.1585, allocations: 217.7 kB / 480.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.1586, allocations: 47.34 kB / 480.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.1587, allocations: 71.73 kB / 480.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1587, allocations: 4 kB / 480.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1587, allocations: 0 / 480.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1587, allocations: 3.984 kB / 480.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.159, allocations: 329.5 kB / 481 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.159, allocations: 0 / 481 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.1591, allocations: 4 kB / 481 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1591, allocations: 4 kB / 481 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1591, allocations: 7.984 kB / 481 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1591, allocations: 4.141 kB / 481 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1591, allocations: 4 kB / 481 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1594, allocations: 201.2 kB / 481.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1596, allocations: 148.5 kB / 481.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1596, allocations: 0 / 481.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1597, allocations: 4 kB / 481.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1598, allocations: 15.94 kB / 481.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1598, allocations: 4 kB / 481.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008463/0.1606, allocations: 0.7526 MB / 482.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1607, allocations: 0 / 482.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.161, allocations: 43.98 kB / 482.1 MB, free: 3.387 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: 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.001046/0.162, allocations: 428.2 kB / 482.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1623, allocations: 79.91 kB / 482.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1623, allocations: 4 kB / 482.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.948e-05/0.1624, allocations: 40.09 kB / 482.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1628, allocations: 58.28 kB / 482.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.1643, allocations: 0.9298 MB / 483.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/0.1651, allocations: 0.8391 MB / 484.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.1652, allocations: 31.42 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1652, allocations: 0 / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Templates: time 0.01094/0.1761, allocations: 4.896 MB / 489.4 MB, free: 12.19 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.o] Error 1