Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.WiredX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 194.9 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004737, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 44.51 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5204, allocations: 78.54 MB / 387.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5207, allocations: 75.5 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.6547, allocations: 42.87 MB / 430.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6548, allocations: 0 / 430.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.6548, allocations: 11.84 kB / 430.5 MB, free: 4.613 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.001199/0.656, allocations: 1.054 MB / 431.5 MB, free: 3.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6561, allocations: 11.62 kB / 431.5 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.6562, allocations: 77.67 kB / 431.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.6568, allocations: 369.4 kB / 432 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.6569, allocations: 15.62 kB / 432 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.657, allocations: 15.62 kB / 432 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.6578, allocations: 300.7 kB / 432.3 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6579, allocations: 4 kB / 432.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.658, allocations: 11.69 kB / 432.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.658, allocations: 0 / 432.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.6585, allocations: 163.6 kB / 432.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.6602, allocations: 0.7638 MB / 433.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.6608, allocations: 211.3 kB / 433.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.6609, allocations: 3.938 kB / 433.4 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/0.6616, allocations: 438.3 kB / 433.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.757e-06/0.6617, allocations: 3.938 kB / 433.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002548/0.6642, allocations: 1.387 MB / 435.3 MB, free: 1.496 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6644, allocations: 280.3 kB / 435.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.6662, allocations: 0.9549 MB / 436.5 MB, free: 380 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.6664, allocations: 37.58 kB / 436.5 MB, free: 340 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.6665, allocations: 179.9 kB / 436.7 MB, free: 176 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.6667, allocations: 70.41 kB / 436.8 MB, free: 120 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.6667, allocations: 4 kB / 436.8 MB, free: 116 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.6669, allocations: 330.6 kB / 437.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.6675, allocations: 146.8 kB / 437.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.668, allocations: 182.1 kB / 437.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.6687, allocations: 363.5 kB / 437.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6687, allocations: 0 / 437.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002107/0.6708, allocations: 0.8684 MB / 438.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.6711, allocations: 249.2 kB / 438.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6711, allocations: 0 / 438.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6711, allocations: 0 / 438.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.6712, allocations: 8 kB / 438.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6712, allocations: 0 / 438.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.6717, allocations: 27.98 kB / 438.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004303/0.6722, allocations: 267.5 kB / 439.2 MB, free: 13.79 MB / 330.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.001227/0.6734, allocations: 0.6116 MB / 439.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.6736, allocations: 79.06 kB / 439.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.6741, allocations: 130.2 kB / 440 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6741, allocations: 4 kB / 440 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6741, allocations: 0 / 440 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6741, allocations: 0 / 440 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.6785, allocations: 1.551 MB / 441.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.6786, allocations: 0 / 441.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.6786, allocations: 15.98 kB / 441.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6786, allocations: 0 / 441.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6787, allocations: 45.97 kB / 441.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.6788, allocations: 0 / 441.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6788, allocations: 0 / 441.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.6812, allocations: 1.089 MB / 442.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.6825, allocations: 431.2 kB / 443.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.6828, allocations: 23.69 kB / 443.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.6832, allocations: 30.42 kB / 443.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.6836, allocations: 73.28 kB / 443.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004664/0.684, allocations: 266.1 kB / 443.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001749/0.6858, allocations: 0.6891 MB / 444.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6858, allocations: 4 kB / 444.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007742/0.6866, allocations: 88 kB / 444.3 MB, free: 9.098 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.0003081/0.687, allocations: 151.2 kB / 444.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.6888, allocations: 0.9091 MB / 445.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6888, allocations: 0 / 445.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6901, allocations: 0.7725 MB / 446.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.6918, allocations: 227.2 kB / 446.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.6958, allocations: 1.529 MB / 447.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6968, allocations: 0.9558 MB / 448.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.6971, allocations: 51.34 kB / 448.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6971, allocations: 0 / 448.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of Templates: time 0.01791/0.715, allocations: 7.932 MB / 456.8 MB, free: 12.16 MB / 346.7 MB