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.784/1.784, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003709, allocations: 12 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07172/0.07212, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2957/0.3679, allocations: 73.24 MB / 345.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3682, allocations: 68.41 kB / 345.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1442/0.5123, allocations: 43.33 MB / 388.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.196e-06/0.5124, allocations: 0 / 388.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.5124, allocations: 11.94 kB / 388.7 MB, free: 11.61 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.001506/0.5139, allocations: 1.056 MB / 389.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.514, allocations: 12.03 kB / 389.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.5142, allocations: 75.06 kB / 389.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.5149, allocations: 368 kB / 390.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.5149, allocations: 16.12 kB / 390.2 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.515, allocations: 20 kB / 390.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.5158, allocations: 303 kB / 390.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5159, allocations: 0 / 390.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.516, allocations: 12 kB / 390.5 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.516, allocations: 7.953 kB / 390.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.5165, allocations: 148.6 kB / 390.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.5183, allocations: 0.7745 MB / 391.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.5189, allocations: 218.4 kB / 391.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5189, allocations: 8.125 kB / 391.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008897/0.5198, allocations: 433.8 kB / 392.1 MB, free: 7.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.834e-06/0.5199, allocations: 0 / 392.1 MB, free: 7.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002707/0.5226, allocations: 1.323 MB / 393.4 MB, free: 6.484 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/0.5228, allocations: 285 kB / 393.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.5246, allocations: 0.8351 MB / 394.5 MB, free: 5.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5248, allocations: 37.7 kB / 394.6 MB, free: 5.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5249, allocations: 188.5 kB / 394.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.5251, allocations: 67.19 kB / 394.8 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.5252, allocations: 12 kB / 394.8 MB, free: 5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5253, allocations: 318.8 kB / 395.1 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.5258, allocations: 136.2 kB / 395.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.5263, allocations: 183.8 kB / 395.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.5269, allocations: 366.2 kB / 395.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-06/0.5269, allocations: 0 / 395.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001837/0.5288, allocations: 0.8268 MB / 396.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.529, allocations: 241.6 kB / 396.9 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.149e-06/0.529, allocations: 0 / 396.9 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5291, allocations: 4 kB / 396.9 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.5291, allocations: 8 kB / 396.9 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.5291, allocations: 11.92 kB / 396.9 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.5296, allocations: 36.02 kB / 396.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.5299, allocations: 263.8 kB / 397.2 MB, free: 2.465 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.00107/0.531, allocations: 0.6007 MB / 397.8 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.5312, allocations: 83.11 kB / 397.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.5316, allocations: 126.9 kB / 398 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-06/0.5316, allocations: 0 / 398 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-06/0.5316, allocations: 0 / 398 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.803e-06/0.5316, allocations: 7.984 kB / 398 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.5347, allocations: 1.503 MB / 399.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-06/0.5347, allocations: 0 / 399.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.5348, allocations: 4 kB / 399.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.757e-06/0.5348, allocations: 0 / 399.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5349, allocations: 47.95 kB / 399.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.5349, allocations: 0 / 399.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.5349, allocations: 4 kB / 399.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.5371, allocations: 1.039 MB / 400.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.5382, allocations: 423.7 kB / 401 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.5384, allocations: 27.94 kB / 401 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.5388, allocations: 27.97 kB / 401.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.5391, allocations: 71.92 kB / 401.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003662/0.5394, allocations: 267.6 kB / 401.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.541, allocations: 0.6938 MB / 402.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.541, allocations: 0 / 402.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006956/0.5417, allocations: 92 kB / 402.2 MB, free: 13.21 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.0002768/0.542, allocations: 143.2 kB / 402.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.5437, allocations: 0.9169 MB / 403.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.5437, allocations: 0 / 403.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.5448, allocations: 0.7688 MB / 404 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.546, allocations: 222.6 kB / 404.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.5493, allocations: 1.524 MB / 405.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/0.5503, allocations: 0.9558 MB / 406.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.5505, allocations: 63.27 kB / 406.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of SimCode: time 1.656e-06/0.5505, allocations: 3.938 kB / 406.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of Templates: time 0.01485/0.5654, allocations: 7.92 MB / 414.7 MB, free: 304 kB / 330.7 MB