Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005952/0.0005951, allocations: 15.98 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1534, allocations: 44.5 MB / 309 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5695/0.7229, allocations: 78.55 MB / 387.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.7232, allocations: 74.78 kB / 387.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1787/0.9019, allocations: 42.88 MB / 430.6 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.902, allocations: 0 / 430.6 MB, free: 4.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.902, allocations: 7.75 kB / 430.6 MB, free: 4.926 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.001494/0.9035, allocations: 1.052 MB / 431.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.9036, allocations: 7.781 kB / 431.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.9039, allocations: 73.5 kB / 431.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.9045, allocations: 373.3 kB / 432.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.9046, allocations: 18.78 kB / 432.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.9047, allocations: 18.72 kB / 432.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/0.9056, allocations: 301.1 kB / 432.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.9056, allocations: 3.875 kB / 432.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.9057, allocations: 6.781 kB / 432.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9057, allocations: 3.906 kB / 432.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.9063, allocations: 151.5 kB / 432.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.9082, allocations: 0.7636 MB / 433.3 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.9089, allocations: 213.8 kB / 433.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.9089, allocations: 7.938 kB / 433.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008643/0.9098, allocations: 438.5 kB / 434 MB, free: 2.484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.807e-06/0.9098, allocations: 0 / 434 MB, free: 2.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002743/0.9126, allocations: 1.387 MB / 435.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.9128, allocations: 280.7 kB / 435.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.9151, allocations: 0.9521 MB / 436.6 MB, free: 0 / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.9154, allocations: 41.5 kB / 436.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.9155, allocations: 119.8 kB / 436.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.9157, allocations: 66.69 kB / 436.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.9158, allocations: 7.5 kB / 436.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9159, allocations: 342.4 kB / 437.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.9165, allocations: 138.5 kB / 437.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.9171, allocations: 185.9 kB / 437.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.9178, allocations: 362.8 kB / 437.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9178, allocations: 4 kB / 437.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002256/0.9201, allocations: 0.8807 MB / 438.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.9204, allocations: 239.8 kB / 438.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.9204, allocations: 0 / 438.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.9204, allocations: 4 kB / 438.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.9205, allocations: 11.97 kB / 438.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.9205, allocations: 7.938 kB / 438.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.9211, allocations: 35.08 kB / 439 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/0.9216, allocations: 268.8 kB / 439.2 MB, free: 13.45 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.001383/0.923, allocations: 0.5971 MB / 439.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.9232, allocations: 79.06 kB / 439.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.9237, allocations: 134.5 kB / 440 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9237, allocations: 0 / 440 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.9237, allocations: 4 kB / 440.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.9237, allocations: 0 / 440.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.9276, allocations: 1.56 MB / 441.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9277, allocations: 0 / 441.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.9277, allocations: 4 kB / 441.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.9278, allocations: 0 / 441.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.9279, allocations: 47.39 kB / 441.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.9279, allocations: 4 kB / 441.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9279, allocations: 0 / 441.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.9307, allocations: 1.085 MB / 442.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.9321, allocations: 433.5 kB / 443.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.9324, allocations: 23.44 kB / 443.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.9329, allocations: 25.61 kB / 443.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.9333, allocations: 75.03 kB / 443.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005018/0.9338, allocations: 266.5 kB / 443.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002342/0.9362, allocations: 0.6924 MB / 444.2 MB, free: 8.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.9363, allocations: 4 kB / 444.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009054/0.9372, allocations: 92 kB / 444.3 MB, free: 8.699 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.000348/0.9376, allocations: 147.2 kB / 444.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.9395, allocations: 0.9171 MB / 445.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9396, allocations: 0 / 445.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.9409, allocations: 0.7687 MB / 446.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.9427, allocations: 242.7 kB / 446.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.9468, allocations: 1.456 MB / 447.9 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.9479, allocations: 0.9596 MB / 448.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.9483, allocations: 93.3 kB / 448.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.9485, allocations: 51.34 kB / 449 MB, free: 3.812 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.9485, allocations: 0 / 449 MB, free: 3.812 MB / 330.7 MB Notification: Performance of Templates: time 0.02954/0.9781, allocations: 11.9 MB / 460.9 MB, free: 7.75 MB / 346.7 MB