Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 92.95 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.001652/0.001652, allocations: 176.8 kB / 17.84 MB, free: 5.621 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.675/1.675, allocations: 223.2 MB / 241.8 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 4 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 50.41 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001645/0.1387, allocations: 1.189 MB / 353.1 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1404, allocations: 0.8199 MB / 353.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.1404, allocations: 3.938 kB / 353.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.49e-05/0.1405, allocations: 3.984 kB / 353.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.1406, allocations: 11.88 kB / 353.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1408, allocations: 35.95 kB / 353.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.141, allocations: 103.7 kB / 354 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1411, allocations: 24.22 kB / 354.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/0.1417, allocations: 495.1 kB / 354.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1418, allocations: 75.81 kB / 354.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1419, allocations: 4 kB / 354.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/0.1419, allocations: 4 kB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.142, allocations: 63.77 kB / 354.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.1421, allocations: 69.58 kB / 354.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.1423, allocations: 291.2 kB / 355 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1424, allocations: 4 kB / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1424, allocations: 0 / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1424, 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.0006824/0.1431, allocations: 0.6569 MB / 355.7 MB, free: 104 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1431, allocations: 12.03 kB / 355.7 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.1432, allocations: 35.53 kB / 355.7 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1435, allocations: 257.3 kB / 356 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1435, allocations: 12 kB / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1436, allocations: 8 kB / 356 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.1439, allocations: 125.6 kB / 356.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1439, allocations: 0 / 356.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1439, allocations: 19.88 kB / 356.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.144, allocations: 4 kB / 356.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1441, allocations: 55.97 kB / 356.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.1448, allocations: 456.6 kB / 356.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.145, allocations: 102.5 kB / 356.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1451, allocations: 84.84 kB / 356.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.1451, allocations: 0 / 356.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.1455, allocations: 213.9 kB / 357.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.1455, allocations: 0 / 357.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007903/0.1463, allocations: 484 kB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1464, allocations: 166.2 kB / 357.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.147, allocations: 0.513 MB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.147, allocations: 33.64 kB / 358.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1471, allocations: 105 kB / 358.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1472, allocations: 31.58 kB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.1472, allocations: 4 kB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1473, allocations: 322.8 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1474, allocations: 59.97 kB / 358.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1476, allocations: 69.67 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1478, allocations: 170.8 kB / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1478, allocations: 0 / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005203/0.1483, allocations: 388.2 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.1484, allocations: 126.8 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1484, allocations: 0 / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1484, allocations: 0 / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.561e-05/0.1485, allocations: 4 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.1485, allocations: 0 / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.1486, allocations: 16.02 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.1487, allocations: 59.94 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.0003892/0.1491, allocations: 354.8 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.1492, allocations: 43.48 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1493, allocations: 71.12 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1493, allocations: 0 / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1493, allocations: 7.938 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1493, allocations: 112 / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.1503, allocations: 0.8252 MB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1503, allocations: 4.062 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.1503, allocations: 0 / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1503, allocations: 0 / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.1503, allocations: 12 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1504, allocations: 3.984 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1504, allocations: 0 / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.151, allocations: 0.5365 MB / 361.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.1513, allocations: 256.4 kB / 361.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1514, allocations: 8 kB / 361.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1515, allocations: 12 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1516, allocations: 27.97 kB / 361.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.1517, allocations: 55.98 kB / 361.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000456/0.1522, allocations: 386.9 kB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.1525, allocations: 47.91 kB / 362.2 MB, free: 9.121 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.000178/0.1527, allocations: 122.9 kB / 362.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.1532, allocations: 441.5 kB / 362.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1532, allocations: 0 / 362.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.1535, allocations: 381.5 kB / 363.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.1541, allocations: 99.14 kB / 363.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1553, allocations: 0.7757 MB / 364 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.1558, allocations: 0.8024 MB / 364.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1558, allocations: 11.44 kB / 364.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of SimCode: time 4.619e-06/0.1558, allocations: 0 / 364.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of Templates: time 0.004926/0.1607, allocations: 2.661 MB / 367.5 MB, free: 3.637 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.NXFERCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.o] Error 1