Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.59 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 239.7 MB, free: 5.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001234, allocations: 171.5 kB / 290.9 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03338/0.03338, allocations: 8.781 MB / 350.8 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004097, allocations: 14.59 kB / 413.8 MB, free: 43.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 52.55 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003691/0.1327, allocations: 1.8 MB / 468.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.135, allocations: 0.8776 MB / 469 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.1352, allocations: 3.938 kB / 469 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.1357, allocations: 103.7 kB / 469.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1361, allocations: 87.58 kB / 469.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.1366, allocations: 103.8 kB / 469.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.1371, allocations: 195.2 kB / 469.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.1373, allocations: 45.62 kB / 469.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1375, allocations: 75.7 kB / 469.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1378, allocations: 91.66 kB / 469.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1378, allocations: 4 kB / 469.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1379, allocations: 39.94 kB / 469.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.138, allocations: 39.88 kB / 469.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.1381, allocations: 61.58 kB / 469.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1383, allocations: 163.9 kB / 470 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1384, allocations: 4 kB / 470 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1384, allocations: 0 / 470 MB, free: 9.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1384, allocations: 0 / 470 MB, free: 9.863 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007772/0.1392, allocations: 482.6 kB / 470.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1392, allocations: 15.97 kB / 470.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.1393, allocations: 23.67 kB / 470.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.1397, allocations: 235.8 kB / 470.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1397, allocations: 16.23 kB / 470.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1397, allocations: 8 kB / 470.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.14, allocations: 119.5 kB / 470.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.14, allocations: 0 / 470.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1401, allocations: 7.984 kB / 470.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1401, allocations: 4 kB / 470.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1403, allocations: 72.62 kB / 471 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.1411, allocations: 0.5497 MB / 471.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.1415, allocations: 114.6 kB / 471.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.1416, allocations: 32.84 kB / 471.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1417, allocations: 4 kB / 471.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1419, allocations: 101 kB / 471.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 3.006e-06/0.1419, allocations: 3.984 kB / 471.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.000379/0.1423, allocations: 137.4 kB / 471.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.1424, allocations: 89.05 kB / 472 MB, free: 7.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1427, allocations: 260.2 kB / 472.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1427, allocations: 29.7 kB / 472.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1428, allocations: 147.6 kB / 472.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1429, allocations: 31.61 kB / 472.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.1429, allocations: 4 kB / 472.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.143, allocations: 326.8 kB / 472.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.1431, allocations: 31.92 kB / 472.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.1432, allocations: 68.27 kB / 472.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.1433, allocations: 39.88 kB / 472.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1433, allocations: 0 / 472.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002419/0.1436, allocations: 133.5 kB / 473.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1436, allocations: 4 kB / 473.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1436, allocations: 4 kB / 473.1 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1436, allocations: 0 / 473.1 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1437, allocations: 27.92 kB / 473.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1437, allocations: 7.984 kB / 473.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.356e-05/0.1438, allocations: 19.86 kB / 473.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1439, allocations: 4 kB / 473.1 MB, free: 6.496 MB / 302.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: 5 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001221/0.144, allocations: 138.9 kB / 473.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.144, allocations: 19.81 kB / 473.3 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.1441, allocations: 21.39 kB / 473.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1441, allocations: 4 kB / 473.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1441, allocations: 7.875 kB / 473.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1441, allocations: 0 / 473.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1443, allocations: 245.4 kB / 473.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1444, allocations: 0 / 473.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.1444, allocations: 19.92 kB / 473.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1445, allocations: 0 / 473.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1445, allocations: 8 kB / 473.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1445, allocations: 4 kB / 473.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1445, allocations: 0 / 473.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.1448, allocations: 184.8 kB / 473.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1449, allocations: 88.95 kB / 473.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1449, allocations: 4 kB / 473.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.145, allocations: 11.98 kB / 473.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.145, allocations: 8.062 kB / 473.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1451, allocations: 0 / 473.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1452, allocations: 201.6 kB / 474.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 0 / 474.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1455, allocations: 43.84 kB / 474.1 MB, free: 5.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009638/0.1465, allocations: 414.7 kB / 474.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1467, allocations: 79.97 kB / 474.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1467, allocations: 0 / 474.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.1468, allocations: 39.98 kB / 474.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1472, allocations: 32.36 kB / 474.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/0.1481, allocations: 0.5196 MB / 475.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1484, allocations: 0.74 MB / 475.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.1485, allocations: 15.44 kB / 476 MB, free: 3.676 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1485, allocations: 0 / 476 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Templates: time 0.00536/0.1539, allocations: 2.529 MB / 478.5 MB, free: 1.16 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.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 OMCppHanserModelica_HanserModelica.Electrical.TablesCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.TablesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.TablesCalcHelperMain.o] Error 1