Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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 4.0.0+maint.om/package.mo", uses=false) 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 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(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 91.88 kB / 16.95 MB, free: 5.953 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.001283/0.001283, allocations: 175.9 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 7.938 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 50.43 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002457/0.1619, allocations: 1.185 MB / 353.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1641, allocations: 0.8199 MB / 353.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.1642, allocations: 0 / 353.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1643, allocations: 7.922 kB / 353.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1645, allocations: 19.84 kB / 353.9 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1648, allocations: 31.97 kB / 353.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.165, allocations: 95.77 kB / 354 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1652, allocations: 28.2 kB / 354.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007559/0.166, allocations: 0.4913 MB / 354.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1661, allocations: 71.77 kB / 354.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.1662, allocations: 4 kB / 354.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.1662, allocations: 4 kB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1663, allocations: 63.77 kB / 354.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.1664, allocations: 69.58 kB / 354.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.1669, allocations: 291.3 kB / 355 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.1669, allocations: 0 / 355 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.1669, allocations: 3.938 kB / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1669, allocations: 4 kB / 355 MB, free: 0.832 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001046/0.168, allocations: 0.6608 MB / 355.7 MB, free: 100 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.168, allocations: 12.03 kB / 355.7 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1681, allocations: 35.53 kB / 355.8 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.1686, allocations: 253.4 kB / 356 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1687, allocations: 11.94 kB / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.1687, allocations: 8 kB / 356 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.1691, allocations: 125.6 kB / 356.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1692, allocations: 0 / 356.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.1692, allocations: 11.89 kB / 356.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1692, allocations: 4 kB / 356.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1694, allocations: 59.97 kB / 356.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008542/0.1702, allocations: 452.6 kB / 356.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1705, allocations: 98.55 kB / 356.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1707, allocations: 92.83 kB / 356.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1707, allocations: 0 / 356.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/0.1712, allocations: 210.7 kB / 357.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1713, allocations: 3.938 kB / 357.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001067/0.1723, allocations: 480 kB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/0.1726, allocations: 166.2 kB / 357.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.1733, allocations: 0.509 MB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1734, allocations: 41.64 kB / 358.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1735, allocations: 97.05 kB / 358.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.1736, allocations: 35.58 kB / 358.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.1736, allocations: 4 kB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1738, allocations: 322.8 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1739, allocations: 59.97 kB / 358.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.1741, allocations: 65.69 kB / 358.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.1743, allocations: 170.8 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1744, allocations: 4 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000612/0.175, allocations: 392 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.1751, allocations: 122.8 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1751, allocations: 0 / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.1752, allocations: 3.984 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.352e-05/0.1752, allocations: 4 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1752, allocations: 0 / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.1756, allocations: 8 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.1757, allocations: 63.95 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0005778/0.1763, allocations: 362.8 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.1763, allocations: 43.48 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.1765, allocations: 67.27 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1765, allocations: 0 / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1765, allocations: 4 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.1765, allocations: 4.109 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.1779, allocations: 0.825 MB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.1779, allocations: 4 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-06/0.1779, allocations: 0 / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1779, allocations: 0 / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.178, allocations: 15.98 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.178, allocations: 0 / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.178, allocations: 0 / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.1788, allocations: 0.5368 MB / 361.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.1792, allocations: 244.5 kB / 361.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.1793, allocations: 12 kB / 361.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1794, allocations: 15.98 kB / 361.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.1796, allocations: 27.97 kB / 361.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.1797, allocations: 52 kB / 361.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007092/0.1804, allocations: 386.9 kB / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1808, allocations: 47.91 kB / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0002485/0.181, allocations: 121.8 kB / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008959/0.1819, allocations: 445.5 kB / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1819, allocations: 0 / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.1824, allocations: 377.5 kB / 363.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.1831, allocations: 101.8 kB / 363.2 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1845, allocations: 0.7796 MB / 364 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.1852, allocations: 0.7946 MB / 364.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.1852, allocations: 15.44 kB / 364.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.624e-06/0.1852, allocations: 0 / 364.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of Templates: time 0.005918/0.1912, allocations: 2.663 MB / 367.5 MB, free: 3.637 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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 OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFERCalcHelperMain.o] Error 1