Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.907/1.907, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.115e-05, allocations: 7.984 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2095, allocations: 38.78 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3211, allocations: 73.16 MB / 340.8 MB, free: 180 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3214, allocations: 63.97 kB / 340.8 MB, free: 116 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3087/0.6301, allocations: 43.64 MB / 384.5 MB, free: 62.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.13e-06/0.6301, allocations: 0 / 384.5 MB, free: 62.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.6302, allocations: 8 kB / 384.5 MB, free: 62.8 MB / 298.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.000825/0.631, allocations: 0.9513 MB / 385.4 MB, free: 61.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.6311, allocations: 12.03 kB / 385.4 MB, free: 61.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.6312, allocations: 78.16 kB / 385.5 MB, free: 61.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.6317, allocations: 375.9 kB / 385.9 MB, free: 61.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.6317, allocations: 12.19 kB / 385.9 MB, free: 61.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.6318, allocations: 16 kB / 385.9 MB, free: 61.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.6325, allocations: 299.4 kB / 386.2 MB, free: 60.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6325, allocations: 4.5 kB / 386.2 MB, free: 60.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.6326, allocations: 12 kB / 386.2 MB, free: 60.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.852e-06/0.6326, allocations: 15.95 kB / 386.2 MB, free: 60.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.6329, allocations: 152.5 kB / 386.4 MB, free: 60.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.6344, allocations: 0.7551 MB / 387.1 MB, free: 59.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.6348, allocations: 210.5 kB / 387.3 MB, free: 59.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.6352, allocations: 188.8 kB / 387.5 MB, free: 59.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.6352, allocations: 0 / 387.5 MB, free: 59.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.6358, allocations: 437.8 kB / 387.9 MB, free: 59.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.6358, allocations: 0 / 387.9 MB, free: 59.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001495/0.6373, allocations: 0.8615 MB / 388.8 MB, free: 58.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.6375, allocations: 281 kB / 389.1 MB, free: 57.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.6388, allocations: 0.8313 MB / 389.9 MB, free: 56.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.6389, allocations: 37.7 kB / 389.9 MB, free: 56.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.639, allocations: 184.4 kB / 390.1 MB, free: 56.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.6391, allocations: 59.25 kB / 390.2 MB, free: 56.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.6392, allocations: 12 kB / 390.2 MB, free: 56.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.6393, allocations: 322.8 kB / 390.5 MB, free: 56.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.6396, allocations: 144.2 kB / 390.6 MB, free: 56.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.64, allocations: 166.2 kB / 390.8 MB, free: 56.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.6404, allocations: 369.4 kB / 391.2 MB, free: 55.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.828e-06/0.6404, allocations: 3.953 kB / 391.2 MB, free: 55.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001342/0.6417, allocations: 0.8035 MB / 392 MB, free: 54.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.6419, allocations: 241.6 kB / 392.2 MB, free: 54.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.239e-06/0.6419, allocations: 0 / 392.2 MB, free: 54.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6419, allocations: 0 / 392.2 MB, free: 54.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.625e-05/0.642, allocations: 4.031 kB / 392.2 MB, free: 54.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.968e-06/0.642, allocations: 8 kB / 392.2 MB, free: 54.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.6424, allocations: 35.88 kB / 392.3 MB, free: 54.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.6427, allocations: 260.4 kB / 392.5 MB, free: 54.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,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,$PRE.bUF3S1.inertialDelaySensitive.y,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 () * 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.0002955/0.643, allocations: 394.5 kB / 392.9 MB, free: 53.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6431, allocations: 83.09 kB / 393 MB, free: 53.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.6435, allocations: 130.9 kB / 393.1 MB, free: 53.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6435, allocations: 4 kB / 393.1 MB, free: 53.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-06/0.6435, allocations: 0 / 393.1 MB, free: 53.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.575e-06/0.6435, allocations: 7.984 kB / 393.1 MB, free: 53.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.6458, allocations: 1.48 MB / 394.6 MB, free: 51.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-06/0.6458, allocations: 4 kB / 394.6 MB, free: 51.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.6459, allocations: 4 kB / 394.6 MB, free: 51.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.6459, allocations: 4 kB / 394.6 MB, free: 51.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.714e-05/0.646, allocations: 43.97 kB / 394.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.646, allocations: 4 kB / 394.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-06/0.646, allocations: 0 / 394.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.6477, allocations: 1.027 MB / 395.7 MB, free: 50.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/0.6486, allocations: 427.8 kB / 396.1 MB, free: 50.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.6488, allocations: 23.98 kB / 396.1 MB, free: 50.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.6492, allocations: 31.83 kB / 396.2 MB, free: 50.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.6494, allocations: 75.91 kB / 396.2 MB, free: 50.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/0.6497, allocations: 275.7 kB / 396.5 MB, free: 49.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.6509, allocations: 0.6861 MB / 397.2 MB, free: 49.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.6509, allocations: 0 / 397.2 MB, free: 49.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.6514, allocations: 92 kB / 397.3 MB, free: 49.19 MB / 298.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]) * 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.0002115/0.6517, allocations: 137.5 kB / 397.4 MB, free: 49.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.6528, allocations: 0.9053 MB / 398.3 MB, free: 48.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.829e-06/0.6528, allocations: 4.062 kB / 398.3 MB, free: 48.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.6534, allocations: 0.7686 MB / 399.1 MB, free: 47.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6545, allocations: 224 kB / 399.3 MB, free: 46.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.6567, allocations: 1.132 MB / 400.4 MB, free: 45.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6573, allocations: 0.9597 MB / 401.4 MB, free: 44.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.6575, allocations: 55.34 kB / 401.5 MB, free: 44.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.742e-06/0.6575, allocations: 0 / 401.5 MB, free: 44.75 MB / 298.7 MB Notification: Performance of Templates: time 0.01164/0.6692, allocations: 7.914 MB / 409.4 MB, free: 36.69 MB / 298.7 MB