Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 99.38 kB / 17.96 MB, free: 5.641 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.001139/0.001139, allocations: 177.6 kB / 18.86 MB, free: 4.773 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.841/1.841, allocations: 205.4 MB / 225 MB, free: 12.97 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.0005403/0.0005405, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.146, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002659/0.1487, allocations: 1.509 MB / 331.1 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1512, allocations: 1.022 MB / 332.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.1512, allocations: 0 / 332.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1514, allocations: 23.84 kB / 332.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.1515, allocations: 27.78 kB / 332.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.1519, allocations: 87.91 kB / 332.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1523, allocations: 247.4 kB / 332.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1525, allocations: 49.67 kB / 332.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.1533, allocations: 0.7095 MB / 333.3 MB, free: 64 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1536, allocations: 143.4 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.1536, allocations: 4 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-05/0.1537, allocations: 8 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1539, allocations: 135.4 kB / 333.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.1542, allocations: 248 kB / 333.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.1549, allocations: 0.6004 MB / 334.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1549, allocations: 4 kB / 334.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1549, allocations: 3.938 kB / 334.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.155, allocations: 0 / 334.4 MB, free: 14.92 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001575/0.1565, allocations: 1.029 MB / 335.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.1566, allocations: 12.03 kB / 335.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1568, allocations: 76 kB / 335.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.1573, allocations: 396.2 kB / 335.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.1574, allocations: 8.562 kB / 335.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.1574, allocations: 20.38 kB / 335.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.1582, allocations: 262.2 kB / 336.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1582, allocations: 0 / 336.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.1582, allocations: 11.98 kB / 336.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1583, allocations: 0 / 336.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1586, allocations: 136.2 kB / 336.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1598, allocations: 0.7387 MB / 337.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.1602, allocations: 206.4 kB / 337.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.1605, allocations: 172.8 kB / 337.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1605, allocations: 4 kB / 337.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000606/0.1611, allocations: 393.8 kB / 337.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.986e-06/0.1611, allocations: 3.984 kB / 337.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001531/0.1627, allocations: 0.9208 MB / 338.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/0.1629, allocations: 281 kB / 339 MB, free: 9.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.1642, allocations: 0.9568 MB / 340 MB, free: 8.965 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.1643, allocations: 37.7 kB / 340 MB, free: 8.922 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1645, allocations: 126 kB / 340.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.1646, allocations: 63.25 kB / 340.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.1647, allocations: 49.64 kB / 340.3 MB, free: 8.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.1649, allocations: 330.8 kB / 340.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1652, allocations: 132.2 kB / 340.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.1655, allocations: 159.9 kB / 340.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.1665, allocations: 0.7021 MB / 341.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.1666, allocations: 3.938 kB / 341.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001095/0.1677, allocations: 0.7487 MB / 342.3 MB, free: 6.422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.1678, allocations: 245.6 kB / 342.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1679, allocations: 4 kB / 342.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1679, allocations: 0 / 342.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.845e-05/0.1679, allocations: 7.938 kB / 342.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1679, allocations: 7.984 kB / 342.6 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.1682, allocations: 36.02 kB / 342.6 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.1684, allocations: 104.2 kB / 342.7 MB, free: 5.977 MB / 286.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: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0008606/0.1692, allocations: 0.6123 MB / 343.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1694, allocations: 79.06 kB / 343.4 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1696, allocations: 126.9 kB / 343.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.093e-05/0.1697, allocations: 7.938 kB / 343.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1697, allocations: 0 / 343.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1697, allocations: 7.984 kB / 343.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.172, allocations: 1.417 MB / 345 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.172, allocations: 0 / 345 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.172, allocations: 7.938 kB / 345 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.172, allocations: 0 / 345 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.1721, allocations: 35.95 kB / 345 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1721, allocations: 4 kB / 345 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.1721, allocations: 0 / 345 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1734, allocations: 0.9649 MB / 346 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.174, allocations: 419.7 kB / 346.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.1741, allocations: 20 kB / 346.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1744, allocations: 31.98 kB / 346.4 MB, free: 2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.1745, allocations: 51.94 kB / 346.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.1747, allocations: 115.8 kB / 346.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.1758, allocations: 0.6938 MB / 347.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1758, allocations: 0 / 347.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.1762, allocations: 99.84 kB / 347.4 MB, free: 1.047 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0003/0.1765, allocations: 143.2 kB / 347.5 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.1778, allocations: 0.8857 MB / 348.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.1778, allocations: 0 / 348.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008967/0.1787, allocations: 0.7493 MB / 349.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.1799, allocations: 246.6 kB / 349.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.1823, allocations: 1.57 MB / 351 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.1831, allocations: 0.944 MB / 351.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1832, allocations: 51.34 kB / 352 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1832, allocations: 4 kB / 352 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01018/0.1934, allocations: 5.348 MB / 357.3 MB, free: 6.812 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.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.WiredXCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredXCalcHelperMain.o] Error 1