Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 92.81 kB / 16.67 MB, free: 6.105 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.0008824/0.0008825, allocations: 180.9 kB / 17.57 MB, free: 5.824 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.98/1.98, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2654/0.2654, allocations: 43.59 MB / 315.6 MB, free: 436 kB / 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.0005546/0.0005546, allocations: 23.78 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002493/0.1454, allocations: 1.552 MB / 445.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1472, allocations: 0.8665 MB / 446.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1474, allocations: 3.938 kB / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.148, allocations: 151.6 kB / 446.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.1484, allocations: 119.6 kB / 446.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.1489, allocations: 135.7 kB / 446.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.1493, allocations: 207.4 kB / 447.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1494, allocations: 25.55 kB / 447.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.1496, allocations: 87.56 kB / 447.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.1498, allocations: 123.5 kB / 447.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1498, allocations: 0 / 447.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.15, allocations: 39.98 kB / 447.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1501, allocations: 51.81 kB / 447.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.292e-05/0.1502, allocations: 89.19 kB / 447.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1504, allocations: 147.6 kB / 447.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1504, allocations: 8 kB / 447.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1504, allocations: 0 / 447.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1504, allocations: 0 / 447.7 MB, free: 1.547 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007113/0.1512, allocations: 486.4 kB / 448.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1512, allocations: 12.03 kB / 448.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.1513, allocations: 24.64 kB / 448.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1516, allocations: 263.6 kB / 448.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1516, allocations: 16.25 kB / 448.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1517, allocations: 8.125 kB / 448.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1519, allocations: 95.36 kB / 448.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1519, allocations: 0 / 448.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.152, allocations: 7.984 kB / 448.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.152, allocations: 0 / 448.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1521, allocations: 43.91 kB / 448.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1526, allocations: 440.9 kB / 449.1 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.153, allocations: 121.4 kB / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1531, allocations: 45.7 kB / 449.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1531, allocations: 4 kB / 449.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.1534, allocations: 113 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.1534, allocations: 0 / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009879/0.1544, allocations: 352.1 kB / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1545, allocations: 88.98 kB / 449.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.1549, allocations: 351 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.155, allocations: 29.7 kB / 450.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1551, allocations: 136.4 kB / 450.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.1552, allocations: 55.28 kB / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.1552, allocations: 17.72 kB / 450.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1554, allocations: 342.8 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1555, allocations: 43.97 kB / 450.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1557, allocations: 72.69 kB / 450.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.1559, allocations: 131.5 kB / 450.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1559, allocations: 4 kB / 450.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003534/0.1563, allocations: 177.2 kB / 451.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1563, allocations: 6.188 kB / 451.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1563, allocations: 0 / 451.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1564, allocations: 4 kB / 451.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1565, allocations: 31.92 kB / 451.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1565, allocations: 7.938 kB / 451.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.1566, allocations: 8.062 kB / 451.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1566, allocations: 8 kB / 451.2 MB, free: 13.79 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001601/0.1568, allocations: 161.7 kB / 451.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.1569, allocations: 27.66 kB / 451.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.1569, allocations: 33.73 kB / 451.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1569, allocations: 4 kB / 451.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.157, allocations: 3.938 kB / 451.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.157, allocations: 0 / 451.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008164/0.1578, allocations: 0.6163 MB / 452 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1578, allocations: 3.984 kB / 452 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1579, allocations: 16 kB / 452 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1579, allocations: 0 / 452 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1579, allocations: 4 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.1579, allocations: 8.734 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1579, allocations: 0 / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1584, allocations: 368.1 kB / 452.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.1585, allocations: 100.8 kB / 452.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.1585, allocations: 7.984 kB / 452.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1587, allocations: 12 kB / 452.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1587, allocations: 15.98 kB / 452.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1588, allocations: 8 kB / 452.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.1591, allocations: 261.9 kB / 452.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1591, allocations: 0 / 452.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.1594, allocations: 43.98 kB / 452.8 MB, free: 12 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001224/0.1607, allocations: 476.6 kB / 453.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.161, allocations: 119.9 kB / 453.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.161, allocations: 0 / 453.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1611, allocations: 59.91 kB / 453.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.1617, allocations: 56.98 kB / 453.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/0.1626, allocations: 0.5147 MB / 454 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.1631, allocations: 0.7518 MB / 454.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.1632, allocations: 23.38 kB / 454.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1632, allocations: 0 / 454.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.007132/0.1703, allocations: 3.077 MB / 457.9 MB, free: 6.945 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73CalcHelperMain.o] Error 1