Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 102.2 kB / 16.52 MB, free: 6.66 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.001971/0.001972, allocations: 199.7 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.1 MB / 223.3 MB, free: 12.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2614/0.2614, allocations: 43.51 MB / 314.1 MB, free: 0.7617 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 65.11 kB / 382.7 MB, free: 56.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1449, allocations: 57.79 MB / 440.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004261/0.1492, allocations: 1.758 MB / 442.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.151, allocations: 0.7889 MB / 443 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.1512, allocations: 3.938 kB / 443 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.1517, allocations: 35.89 kB / 443.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.152, allocations: 47.83 kB / 443.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1524, allocations: 83.45 kB / 443.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1526, allocations: 91.7 kB / 443.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1527, allocations: 12.45 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1529, allocations: 47.7 kB / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.153, allocations: 27.86 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.153, allocations: 4 kB / 443.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1531, allocations: 39.98 kB / 443.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.1532, allocations: 23.91 kB / 443.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.1532, allocations: 35.73 kB / 443.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1535, allocations: 83.83 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1535, allocations: 4 kB / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1535, allocations: 0 / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1535, allocations: 0 / 443.6 MB, free: 4.391 MB / 318.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.0005861/0.1541, allocations: 414.9 kB / 444 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1541, allocations: 8.031 kB / 444 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.1542, allocations: 16.75 kB / 444 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1544, allocations: 212.8 kB / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1545, allocations: 4.375 kB / 444.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1545, allocations: 4.125 kB / 444.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1547, allocations: 57.67 kB / 444.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1547, allocations: 0 / 444.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1547, allocations: 0 / 444.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1547, allocations: 0 / 444.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.1548, allocations: 23.92 kB / 444.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1552, allocations: 284.9 kB / 444.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1553, allocations: 62.67 kB / 444.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.1554, allocations: 20.84 kB / 444.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1554, allocations: 0 / 444.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1556, allocations: 71.33 kB / 444.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1556, allocations: 0 / 444.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.1562, allocations: 185.1 kB / 444.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1563, allocations: 51.41 kB / 444.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1564, allocations: 199.2 kB / 445.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1564, allocations: 25.7 kB / 445.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.1565, allocations: 100.1 kB / 445.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1565, allocations: 27.64 kB / 445.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1566, allocations: 21.72 kB / 445.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.1566, allocations: 338.8 kB / 445.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.1567, allocations: 16 kB / 445.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.1568, allocations: 37.64 kB / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1569, allocations: 69.56 kB / 445.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1569, allocations: 0 / 445.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.1571, allocations: 97.53 kB / 445.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1571, allocations: 8.031 kB / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1571, allocations: 0 / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.1571, allocations: 7.984 kB / 445.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1572, allocations: 19.98 kB / 445.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1573, allocations: 0 / 445.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.1573, allocations: 7.938 kB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1573, allocations: 0 / 445.9 MB, free: 1.812 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/0.1575, allocations: 133.8 kB / 446 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1575, allocations: 11.81 kB / 446 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.1575, allocations: 25.39 kB / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1575, allocations: 0 / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1576, allocations: 0 / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1576, allocations: 3.938 kB / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.1579, allocations: 391.3 kB / 446.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1579, allocations: 0 / 446.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.158, allocations: 11.94 kB / 446.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.158, allocations: 0 / 446.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.158, allocations: 15.95 kB / 446.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.158, allocations: 0 / 446.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.158, allocations: 0 / 446.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1582, allocations: 196.5 kB / 446.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.1583, allocations: 88.92 kB / 446.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1583, allocations: 3.938 kB / 446.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1584, allocations: 12.36 kB / 446.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1584, allocations: 8 kB / 446.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1584, allocations: 7.938 kB / 446.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.267e-05/0.1585, allocations: 144.9 kB / 446.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1585, allocations: 0 / 446.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1588, allocations: 31.98 kB / 447 MB, free: 0.6406 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.1599, allocations: 472.4 kB / 447.4 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1601, allocations: 55.92 kB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1601, allocations: 0 / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.1602, allocations: 27.98 kB / 447.5 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1605, allocations: 32.09 kB / 447.5 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.1611, allocations: 286.6 kB / 447.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1614, allocations: 0.7083 MB / 448.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1615, allocations: 15.44 kB / 448.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1615, allocations: 4 kB / 448.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.004368/0.1658, allocations: 1.904 MB / 450.4 MB, free: 13.18 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.o] Error 1