Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_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.001076/0.001076, allocations: 99.61 kB / 17.96 MB, free: 5.637 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.001115/0.001115, allocations: 172.7 kB / 18.86 MB, free: 4.777 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.793/1.793, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.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.0004954/0.0004954, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001849/0.137, allocations: 1.219 MB / 330.8 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.139, allocations: 0.8993 MB / 331.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1391, allocations: 0 / 331.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.573e-05/0.1392, allocations: 7.922 kB / 331.7 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.1393, allocations: 15.86 kB / 331.8 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1396, allocations: 35.97 kB / 331.8 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1398, allocations: 115.7 kB / 331.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1399, allocations: 28.22 kB / 331.9 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.1406, allocations: 0.5537 MB / 332.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1407, allocations: 63.7 kB / 332.5 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1408, allocations: 4 kB / 332.5 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.645e-05/0.1408, allocations: 4 kB / 332.5 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1409, allocations: 59.7 kB / 332.6 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1411, allocations: 136.9 kB / 332.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1414, allocations: 295.3 kB / 333 MB, free: 316 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1414, allocations: 0 / 333 MB, free: 316 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1414, allocations: 4 kB / 333 MB, free: 312 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1415, allocations: 0 / 333 MB, free: 312 kB / 270.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.0007465/0.1422, allocations: 0.657 MB / 333.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1423, allocations: 8.031 kB / 333.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.1423, allocations: 36.56 kB / 333.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1427, allocations: 270.3 kB / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1427, allocations: 12.38 kB / 334 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1427, allocations: 12.31 kB / 334 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.1431, allocations: 133.9 kB / 334.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1431, allocations: 4 kB / 334.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.1431, allocations: 4 kB / 334.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1431, allocations: 0 / 334.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1433, allocations: 59.95 kB / 334.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.144, allocations: 464.4 kB / 334.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1443, allocations: 106.5 kB / 334.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1444, allocations: 80.89 kB / 334.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1445, allocations: 0 / 334.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.1449, allocations: 202.8 kB / 335.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1449, allocations: 3.938 kB / 335.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008416/0.1457, allocations: 480 kB / 335.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.1459, allocations: 174.2 kB / 335.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.1465, allocations: 0.513 MB / 336.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.1466, allocations: 29.7 kB / 336.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.1467, allocations: 105 kB / 336.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.1467, allocations: 31.58 kB / 336.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1468, allocations: 25.7 kB / 336.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1469, allocations: 326.8 kB / 336.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1471, allocations: 55.97 kB / 336.8 MB, free: 12.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1472, allocations: 77.69 kB / 336.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.1476, allocations: 347.7 kB / 337.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1477, allocations: 0 / 337.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006551/0.1483, allocations: 388.3 kB / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1484, allocations: 122.8 kB / 337.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1484, allocations: 0 / 337.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.1485, allocations: 7.984 kB / 337.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.1485, allocations: 0 / 337.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1485, allocations: 4.031 kB / 337.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1487, allocations: 16 kB / 337.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.1488, allocations: 59.92 kB / 337.8 MB, free: 11.14 MB / 286.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,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000387/0.1492, allocations: 362.8 kB / 338.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.1493, allocations: 43.53 kB / 338.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1494, allocations: 67.14 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1494, allocations: 4 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1494, allocations: 0 / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1494, allocations: 4 kB / 338.2 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1505, allocations: 0.8056 MB / 339 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1505, allocations: 4 kB / 339.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-06/0.1506, allocations: 3.938 kB / 339.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1506, allocations: 0 / 339.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.1506, allocations: 15.98 kB / 339.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1506, allocations: 0 / 339.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1506, allocations: 3.938 kB / 339.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.1513, allocations: 0.5446 MB / 339.6 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.1517, allocations: 244.5 kB / 339.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.1517, allocations: 11.94 kB / 339.9 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1519, allocations: 19.92 kB / 339.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.152, allocations: 23.92 kB / 339.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.1521, allocations: 63.92 kB / 340 MB, free: 8.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004779/0.1525, allocations: 386.9 kB / 340.4 MB, free: 8.383 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1525, allocations: 0 / 340.4 MB, free: 8.383 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1529, allocations: 44 kB / 340.4 MB, free: 8.34 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.153, allocations: 119 kB / 340.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.1536, allocations: 437.5 kB / 340.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1536, allocations: 0 / 340.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.154, allocations: 377.8 kB / 341.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.1547, allocations: 109.2 kB / 341.4 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1559, allocations: 0.8029 MB / 342.2 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.1565, allocations: 0.8103 MB / 343 MB, free: 5.547 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.1566, allocations: 15.38 kB / 343 MB, free: 5.531 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1566, allocations: 0 / 343 MB, free: 5.531 MB / 286.1 MB Notification: Performance of Templates: time 0.00512/0.1617, allocations: 2.655 MB / 345.7 MB, free: 2.82 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFERCalcHelperMain.o] Error 1