Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08883, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5151, allocations: 73.24 MB / 345.9 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5155, allocations: 77.08 kB / 345.9 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2196/0.7351, allocations: 43.33 MB / 389.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7351, allocations: 0 / 389.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.082e-05/0.7352, allocations: 8 kB / 389.3 MB, free: 11.06 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.00166/0.7368, allocations: 1.06 MB / 390.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7369, allocations: 11.97 kB / 390.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.7371, allocations: 79.06 kB / 390.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.7379, allocations: 368 kB / 390.8 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.738, allocations: 16.19 kB / 390.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.7381, allocations: 23.94 kB / 390.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/0.7391, allocations: 295.1 kB / 391.1 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.7391, allocations: 0 / 391.1 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/0.7392, allocations: 15.98 kB / 391.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.7392, allocations: 3.953 kB / 391.1 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.7398, allocations: 152.6 kB / 391.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.742, allocations: 0.774 MB / 392 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.7428, allocations: 218.5 kB / 392.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.7428, allocations: 4.125 kB / 392.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009604/0.7438, allocations: 433.8 kB / 392.7 MB, free: 7.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.376e-06/0.7438, allocations: 0 / 392.7 MB, free: 7.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.003218/0.747, allocations: 1.382 MB / 394.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/0.7473, allocations: 281 kB / 394.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.7496, allocations: 0.9529 MB / 395.3 MB, free: 4.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.7498, allocations: 33.7 kB / 395.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.75, allocations: 138 kB / 395.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.7502, allocations: 59.25 kB / 395.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.7503, allocations: 12 kB / 395.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.7505, allocations: 334.8 kB / 395.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.751, allocations: 136.2 kB / 396 MB, free: 3.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.7516, allocations: 183.8 kB / 396.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.7523, allocations: 358.3 kB / 396.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.7523, allocations: 7.953 kB / 396.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002291/0.7546, allocations: 0.8774 MB / 397.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.7549, allocations: 246.2 kB / 397.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.7549, allocations: 0 / 397.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.755, allocations: 0 / 397.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.755, allocations: 19.92 kB / 397.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7551, allocations: 0 / 397.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.7556, allocations: 39.92 kB / 397.7 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/0.756, allocations: 271.7 kB / 398 MB, free: 1.719 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.001277/0.7573, allocations: 0.6084 MB / 398.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.7576, allocations: 79.11 kB / 398.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.758, allocations: 122.9 kB / 398.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.758, allocations: 4 kB / 398.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.758, allocations: 4 kB / 398.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.758, allocations: 3.984 kB / 398.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.7616, allocations: 1.546 MB / 400.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7616, allocations: 0 / 400.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.7617, allocations: 11.94 kB / 400.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.7617, allocations: 4 kB / 400.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.7618, allocations: 43.97 kB / 400.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.7618, allocations: 3.938 kB / 400.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7618, allocations: 3.984 kB / 400.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.7644, allocations: 1.09 MB / 401.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.7656, allocations: 427.8 kB / 401.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.7659, allocations: 24 kB / 401.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.7664, allocations: 27.98 kB / 402 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.7667, allocations: 71.91 kB / 402 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004215/0.7671, allocations: 267.5 kB / 402.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001751/0.7689, allocations: 0.6899 MB / 403 MB, free: 12.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.216e-06/0.7689, allocations: 0 / 403 MB, free: 12.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007592/0.7697, allocations: 95.94 kB / 403.1 MB, free: 12.36 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.000308/0.77, allocations: 143.2 kB / 403.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.772, allocations: 0.9208 MB / 404.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.772, allocations: 192 / 404.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.7737, allocations: 0.7647 MB / 404.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.7755, allocations: 230.6 kB / 405.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.7807, allocations: 1.453 MB / 406.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.7818, allocations: 0.9636 MB / 407.5 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000398/0.7822, allocations: 93.33 kB / 407.6 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.7824, allocations: 39.38 kB / 407.7 MB, free: 7.504 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7824, allocations: 0 / 407.7 MB, free: 7.504 MB / 330.7 MB Notification: Performance of Templates: time 0.0287/0.8111, allocations: 11.92 MB / 419.6 MB, free: 11.41 MB / 346.7 MB