Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009419, allocations: 96.58 kB / 16.33 MB, free: 5.949 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.001039/0.001039, allocations: 188.6 kB / 17.22 MB, free: 5.883 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.582/1.582, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.403/0.403, allocations: 43.55 MB / 315.2 MB, free: 8.883 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.0005089/0.0005089, allocations: 16 kB / 384.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 58.87 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002229/0.1364, allocations: 1.52 MB / 444.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1377, allocations: 0.8357 MB / 445.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.1378, allocations: 4 kB / 445.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.1382, allocations: 247.4 kB / 446 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.1385, allocations: 159.6 kB / 446.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1389, allocations: 127.8 kB / 446.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1391, allocations: 207.3 kB / 446.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1393, allocations: 29.52 kB / 446.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1394, allocations: 107.6 kB / 446.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1396, allocations: 147.6 kB / 446.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1396, allocations: 11.98 kB / 446.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1397, allocations: 43.86 kB / 446.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.1398, allocations: 55.83 kB / 446.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.1399, allocations: 53.58 kB / 446.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1401, allocations: 167.9 kB / 447.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.1401, allocations: 0 / 447.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1401, allocations: 0 / 447.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1401, allocations: 0 / 447.1 MB, free: 9.336 MB / 382.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.0006506/0.1408, allocations: 0.5329 MB / 447.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1408, allocations: 16.02 kB / 447.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.1409, allocations: 27.62 kB / 447.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1412, allocations: 263 kB / 447.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1412, allocations: 4 kB / 447.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1412, allocations: 8 kB / 448 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1415, allocations: 99.34 kB / 448.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1415, allocations: 0 / 448.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1415, allocations: 3.953 kB / 448.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1415, allocations: 4 kB / 448.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1416, allocations: 39.91 kB / 448.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.1421, allocations: 453 kB / 448.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.1424, allocations: 121.3 kB / 448.7 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.1425, allocations: 41.64 kB / 448.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1425, allocations: 7.938 kB / 448.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.1428, allocations: 121 kB / 448.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1428, allocations: 0 / 448.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008084/0.1436, allocations: 371.7 kB / 449.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1437, allocations: 89.03 kB / 449.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.1441, allocations: 477.7 kB / 449.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1442, allocations: 29.7 kB / 449.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1443, allocations: 164.4 kB / 449.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1444, allocations: 51.34 kB / 450 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1444, allocations: 0 / 450 MB, free: 6.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1445, allocations: 342.8 kB / 450.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.1446, allocations: 47.92 kB / 450.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.1447, allocations: 63.42 kB / 450.4 MB, free: 5.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1449, allocations: 51.98 kB / 450.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1449, allocations: 0 / 450.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003137/0.1452, allocations: 181.1 kB / 450.7 MB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1452, allocations: 8 kB / 450.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1452, allocations: 0 / 450.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1453, allocations: 4 kB / 450.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1454, allocations: 31.98 kB / 450.7 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1454, allocations: 8.062 kB / 450.7 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.1455, allocations: 7.984 kB / 450.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1455, allocations: 8 kB / 450.7 MB, free: 5.453 MB / 382.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.0001474/0.1457, allocations: 177.6 kB / 450.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.1457, allocations: 27.62 kB / 450.9 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.1458, allocations: 35.12 kB / 451 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1458, allocations: 7.984 kB / 451 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1458, allocations: 0 / 451 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1458, allocations: 3.984 kB / 451 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007102/0.1465, allocations: 0.6397 MB / 451.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1466, allocations: 0 / 451.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.1466, allocations: 16 kB / 451.6 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1466, allocations: 4 kB / 451.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1466, allocations: 7.984 kB / 451.6 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1467, allocations: 8 kB / 451.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1467, allocations: 3.953 kB / 451.6 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.147, allocations: 360.1 kB / 452 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.1471, allocations: 108.7 kB / 452.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1472, allocations: 12.73 kB / 452.1 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1473, allocations: 4 kB / 452.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1473, allocations: 23.88 kB / 452.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1474, allocations: 15.92 kB / 452.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.1477, allocations: 355.1 kB / 452.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 0 / 452.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.148, allocations: 44 kB / 452.5 MB, free: 3.508 MB / 382.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.001026/0.149, allocations: 476.9 kB / 453 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.1493, allocations: 115.8 kB / 453.1 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1493, allocations: 128 / 453.1 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1495, allocations: 55.92 kB / 453.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.1499, allocations: 49.39 kB / 453.2 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.1509, allocations: 0.6014 MB / 453.8 MB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1513, allocations: 0.7752 MB / 454.6 MB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.1514, allocations: 23.44 kB / 454.6 MB, free: 1.391 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1514, allocations: 0 / 454.6 MB, free: 1.391 MB / 382.1 MB Notification: Performance of Templates: time 0.2065/0.3579, allocations: 3.335 MB / 458 MB, free: 45.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.o] Error 1