Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0007853/0.0007854, allocations: 95.84 kB / 16.33 MB, free: 5.941 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.0007991/0.0007992, allocations: 186.2 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.511/1.511, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.3883/0.3883, allocations: 43.54 MB / 315.2 MB, free: 9.141 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.0005099/0.00051, allocations: 16 kB / 384.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 58.85 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002159/0.133, allocations: 1.469 MB / 444.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1344, allocations: 0.8202 MB / 445.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.1345, allocations: 4 kB / 445.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.1349, allocations: 295.3 kB / 446 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1353, allocations: 183.5 kB / 446.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1356, allocations: 135.7 kB / 446.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1358, allocations: 203.4 kB / 446.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.1359, allocations: 13.55 kB / 446.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1361, allocations: 111.6 kB / 446.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1363, allocations: 155.5 kB / 446.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1363, allocations: 8 kB / 446.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.1364, allocations: 39.92 kB / 446.8 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1365, allocations: 135.6 kB / 447 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.1366, allocations: 77.45 kB / 447 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1369, allocations: 267.8 kB / 447.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1369, allocations: 0 / 447.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1369, allocations: 0 / 447.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1369, allocations: 0 / 447.3 MB, free: 9.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008045/0.1377, allocations: 0.6687 MB / 448 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1378, allocations: 12.02 kB / 448 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.1379, allocations: 43.44 kB / 448 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.1384, allocations: 419.1 kB / 448.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1384, allocations: 0 / 448.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1384, allocations: 11.94 kB / 448.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1386, allocations: 79.36 kB / 448.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1386, allocations: 0 / 448.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1386, allocations: 12 kB / 448.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1387, allocations: 3.953 kB / 448.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.952e-05/0.1388, allocations: 27.92 kB / 448.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.1391, allocations: 382.2 kB / 448.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1394, allocations: 109.2 kB / 449 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.1395, allocations: 45.62 kB / 449.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1395, allocations: 0 / 449.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.1398, allocations: 105.1 kB / 449.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1398, allocations: 0 / 449.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004303/0.1402, allocations: 189 kB / 449.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1403, allocations: 89.05 kB / 449.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.1413, allocations: 1.007 MB / 450.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1413, allocations: 29.7 kB / 450.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.1415, allocations: 228 kB / 450.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1415, allocations: 31.58 kB / 450.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.1415, allocations: 8 kB / 450.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1417, allocations: 366.8 kB / 451.1 MB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.1418, allocations: 23.98 kB / 451.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.1419, allocations: 59.41 kB / 451.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.142, allocations: 32.5 kB / 451.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.142, allocations: 8 kB / 451.2 MB, free: 5.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002661/0.1422, allocations: 161 kB / 451.4 MB, free: 5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1423, allocations: 4 kB / 451.4 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1423, allocations: 0 / 451.4 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1423, allocations: 4 kB / 451.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1424, allocations: 23.92 kB / 451.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1424, allocations: 3.953 kB / 451.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.1425, allocations: 15.97 kB / 451.4 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1425, allocations: 8 kB / 451.5 MB, free: 4.941 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.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.0001997/0.1428, allocations: 225.6 kB / 451.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.1428, allocations: 51.34 kB / 451.7 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.1429, allocations: 55.84 kB / 451.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1429, allocations: 0 / 451.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1429, allocations: 7.938 kB / 451.8 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1429, allocations: 3.953 kB / 451.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.1432, allocations: 337.4 kB / 452.1 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1432, allocations: 0 / 452.1 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.1433, allocations: 16 kB / 452.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1433, allocations: 0 / 452.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1433, allocations: 4 kB / 452.1 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1433, allocations: 3.984 kB / 452.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1433, allocations: 0 / 452.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1436, allocations: 197.3 kB / 452.3 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1437, allocations: 144.4 kB / 452.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1438, allocations: 7.984 kB / 452.5 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1439, allocations: 4.125 kB / 452.5 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.1439, allocations: 15.98 kB / 452.5 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.144, allocations: 4 kB / 452.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007518/0.1447, allocations: 0.7487 MB / 453.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1447, allocations: 96 / 453.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.145, allocations: 55.88 kB / 453.3 MB, free: 2.984 MB / 382.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.0009683/0.146, allocations: 409.7 kB / 453.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1462, allocations: 79.91 kB / 453.8 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1462, allocations: 0 / 453.8 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1463, allocations: 43.91 kB / 453.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1467, allocations: 62.58 kB / 453.9 MB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.148, allocations: 0.9379 MB / 454.8 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1484, allocations: 0.8313 MB / 455.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.1485, allocations: 35.42 kB / 455.7 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1485, allocations: 0 / 455.7 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of Templates: time 0.2277/0.3763, allocations: 4.888 MB / 460.6 MB, free: 45.17 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.o] Error 1