Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.WiredX.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 171.2 MB / 187.3 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08594, allocations: 38.77 MB / 272.5 MB, free: 12.22 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.509, allocations: 73.22 MB / 345.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5093, allocations: 80.03 kB / 345.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1588/0.6682, allocations: 43.33 MB / 389.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6682, allocations: 0 / 389.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.6683, allocations: 8 kB / 389.2 MB, free: 11.69 MB / 314.7 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.002254/0.6705, allocations: 1.064 MB / 390.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.6706, allocations: 8.031 kB / 390.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.671, allocations: 79.06 kB / 390.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.672, allocations: 364 kB / 390.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.6721, allocations: 16.19 kB / 390.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.6723, allocations: 20 kB / 390.7 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.6735, allocations: 291.2 kB / 391 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6736, allocations: 0 / 391 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.6737, allocations: 12 kB / 391 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6737, allocations: 7.938 kB / 391 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.6745, allocations: 156.6 kB / 391.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.6771, allocations: 0.7628 MB / 391.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.6781, allocations: 222.5 kB / 392.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.6781, allocations: 0 / 392.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.6794, allocations: 433.8 kB / 392.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 4.298e-06/0.6795, allocations: 0 / 392.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.00454/0.684, allocations: 1.386 MB / 394 MB, free: 6.523 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/0.6843, allocations: 281 kB / 394.2 MB, free: 6.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/0.6876, allocations: 0.9568 MB / 395.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.6879, allocations: 37.64 kB / 395.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.6881, allocations: 180.5 kB / 395.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.6883, allocations: 63.19 kB / 395.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6884, allocations: 15.98 kB / 395.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6886, allocations: 318.8 kB / 395.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.6894, allocations: 148.1 kB / 396 MB, free: 4.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.6902, allocations: 185.2 kB / 396.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.6911, allocations: 358.3 kB / 396.5 MB, free: 3.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.6911, allocations: 3.953 kB / 396.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002971/0.6941, allocations: 0.8658 MB / 397.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/0.6944, allocations: 249.6 kB / 397.6 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6945, allocations: 3.938 kB / 397.6 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6945, allocations: 4.094 kB / 397.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.6946, allocations: 11.94 kB / 397.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6946, allocations: 0 / 397.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.6953, allocations: 35.97 kB / 397.7 MB, free: 2.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005846/0.696, allocations: 267.8 kB / 397.9 MB, free: 2.328 MB / 314.7 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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.6976, allocations: 0.6084 MB / 398.5 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.698, allocations: 79.11 kB / 398.6 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.6986, allocations: 130.9 kB / 398.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6986, allocations: 4 kB / 398.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6986, allocations: 0 / 398.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.6986, allocations: 0 / 398.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.7036, allocations: 1.546 MB / 400.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.7037, allocations: 0 / 400.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.7038, allocations: 7.938 kB / 400.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.7038, allocations: 4 kB / 400.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.704, allocations: 47.97 kB / 400.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.704, allocations: 0 / 400.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.704, allocations: 0 / 400.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.7073, allocations: 1.094 MB / 401.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.7089, allocations: 431.6 kB / 401.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.7092, allocations: 19.98 kB / 401.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.7099, allocations: 27.98 kB / 401.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.7103, allocations: 75.91 kB / 402 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005653/0.7109, allocations: 263.6 kB / 402.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002263/0.7132, allocations: 0.6976 MB / 402.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7132, allocations: 0 / 402.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001094/0.7143, allocations: 92 kB / 403 MB, free: 12.97 MB / 330.7 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 (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.0003804/0.7147, allocations: 147.2 kB / 403.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.7171, allocations: 0.9169 MB / 404.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7172, allocations: 0 / 404.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.7186, allocations: 0.7685 MB / 404.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.7208, allocations: 234.5 kB / 405.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.7255, allocations: 1.521 MB / 406.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.7268, allocations: 0.9636 MB / 407.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.7271, allocations: 59.31 kB / 407.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7271, allocations: 0 / 407.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of Templates: time 0.02234/0.7495, allocations: 7.912 MB / 415.5 MB, free: 48 kB / 330.7 MB