Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 96.88 kB / 16.33 MB, free: 6.422 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.0008163/0.0008163, allocations: 182.2 kB / 17.22 MB, free: 6.285 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.466/1.466, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.2338/0.2338, allocations: 43.57 MB / 315.2 MB, free: 0.5508 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.0005057/0.0005057, allocations: 21.75 kB / 384.6 MB, free: 57.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 58.86 MB / 443.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00223/0.1199, allocations: 1.518 MB / 444.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1212, allocations: 0.8396 MB / 445.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1214, allocations: 0 / 445.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.1219, allocations: 247.4 kB / 446 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1222, allocations: 159.5 kB / 446.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1226, allocations: 130.3 kB / 446.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1229, allocations: 207.4 kB / 446.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.123, allocations: 25.48 kB / 446.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1232, allocations: 107.6 kB / 446.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1235, allocations: 155.5 kB / 446.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.1235, allocations: 4 kB / 446.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1236, allocations: 35.98 kB / 446.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.1237, allocations: 51.83 kB / 446.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.1238, allocations: 65.5 kB / 446.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.124, allocations: 159.7 kB / 447.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.124, allocations: 0 / 447.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1241, allocations: 3.938 kB / 447.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1241, allocations: 0 / 447.1 MB, free: 2.062 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.0007136/0.1248, allocations: 0.5213 MB / 447.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1248, allocations: 16.02 kB / 447.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.1249, allocations: 35.58 kB / 447.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1252, allocations: 263 kB / 447.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1252, allocations: 11.98 kB / 447.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1252, allocations: 4 kB / 447.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1254, allocations: 99.3 kB / 448 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1254, allocations: 0 / 448 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1255, allocations: 7.984 kB / 448 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1255, allocations: 0 / 448 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1256, allocations: 43.86 kB / 448.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.126, allocations: 453 kB / 448.5 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1263, allocations: 117.3 kB / 448.6 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.1263, allocations: 45.69 kB / 448.7 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1264, allocations: 4 kB / 448.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.1266, allocations: 116.9 kB / 448.8 MB, free: 152 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1266, allocations: 0 / 448.8 MB, free: 152 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008635/0.1275, allocations: 387.6 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.1276, allocations: 77.11 kB / 449.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.128, allocations: 485.6 kB / 449.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1281, allocations: 29.7 kB / 449.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1282, allocations: 156.4 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.1283, allocations: 51.3 kB / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.1283, allocations: 4 kB / 450 MB, free: 14.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1284, allocations: 342.8 kB / 450.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.1285, allocations: 39.97 kB / 450.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1287, allocations: 79.36 kB / 450.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1288, allocations: 44 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1288, allocations: 0 / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003668/0.1292, allocations: 185.1 kB / 450.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1292, allocations: 11.94 kB / 450.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1292, allocations: 64 / 450.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1293, allocations: 4 kB / 450.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1294, allocations: 35.92 kB / 450.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1294, allocations: 0 / 450.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.1295, allocations: 8.734 kB / 450.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1295, allocations: 12 kB / 450.7 MB, free: 14.17 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.1297, allocations: 165.8 kB / 450.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1297, allocations: 31.62 kB / 450.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.1298, allocations: 38.81 kB / 450.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1298, allocations: 4 kB / 451 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1298, allocations: 3.984 kB / 451 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1298, allocations: 0 / 451 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.1306, allocations: 0.6358 MB / 451.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1306, allocations: 0 / 451.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1307, allocations: 24 kB / 451.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1307, allocations: 0 / 451.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1307, allocations: 7.984 kB / 451.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1307, allocations: 4 kB / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1307, allocations: 480 / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.1311, allocations: 375.2 kB / 452 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.1312, allocations: 108.7 kB / 452.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.1313, allocations: 8 kB / 452.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1314, allocations: 4 kB / 452.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1315, allocations: 19.97 kB / 452.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1315, allocations: 7.953 kB / 452.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.1318, allocations: 359.1 kB / 452.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 3.938 kB / 452.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1321, allocations: 44 kB / 452.5 MB, free: 12.23 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 (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.001047/0.1332, allocations: 476.7 kB / 453 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1335, allocations: 115.8 kB / 453.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1335, allocations: 0 / 453.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1336, allocations: 59.91 kB / 453.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.1341, allocations: 49.39 kB / 453.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.1349, allocations: 0.5938 MB / 453.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1353, allocations: 0.7752 MB / 454.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.1353, allocations: 27.42 kB / 454.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1354, allocations: 0 / 454.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005335/0.1407, allocations: 3.35 MB / 458 MB, free: 6.82 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.o] Error 1