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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.587/1.587, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004522, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.08147, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.4396, allocations: 73.24 MB / 345.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.44, allocations: 68.03 kB / 345.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.5914, allocations: 43.32 MB / 388.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5915, allocations: 0 / 388.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.5915, allocations: 8 kB / 388.8 MB, free: 10.95 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.001491/0.593, allocations: 1.071 MB / 389.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5931, allocations: 16.03 kB / 389.9 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.5932, allocations: 50.55 kB / 389.9 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.5934, allocations: 75.16 kB / 390 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.5941, allocations: 368 kB / 390.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.5941, allocations: 12.19 kB / 390.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5943, allocations: 16 kB / 390.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.5952, allocations: 306.7 kB / 390.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5952, allocations: 0 / 390.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.5953, allocations: 15.95 kB / 390.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.5953, allocations: 4 kB / 390.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.5959, allocations: 160.5 kB / 390.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.5979, allocations: 0.7628 MB / 391.6 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.5986, allocations: 218.4 kB / 391.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5986, allocations: 0 / 391.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008986/0.5995, allocations: 433.8 kB / 392.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 4.739e-06/0.5995, allocations: 3.984 kB / 392.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002972/0.6025, allocations: 1.327 MB / 393.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.6028, allocations: 285 kB / 393.8 MB, free: 5.422 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.6047, allocations: 0.8468 MB / 394.7 MB, free: 4.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.6048, allocations: 33.7 kB / 394.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.605, allocations: 130 kB / 394.9 MB, free: 4.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.6051, allocations: 63.25 kB / 394.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.6052, allocations: 4 kB / 394.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6054, allocations: 338.8 kB / 395.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.6059, allocations: 136.2 kB / 395.4 MB, free: 3.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.6065, allocations: 188.9 kB / 395.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.6071, allocations: 354.3 kB / 395.9 MB, free: 3.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.6071, allocations: 7.891 kB / 395.9 MB, free: 3.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002041/0.6092, allocations: 0.8383 MB / 396.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.6094, allocations: 241.6 kB / 397 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6094, allocations: 0 / 397 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.6095, allocations: 4.094 kB / 397 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.6095, allocations: 12 kB / 397 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6095, allocations: 7.984 kB / 397 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.61, allocations: 35.77 kB / 397.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/0.6104, allocations: 267.8 kB / 397.3 MB, free: 1.766 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.00109/0.6115, allocations: 0.5968 MB / 397.9 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.6117, allocations: 79.11 kB / 398 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.6121, allocations: 134.9 kB / 398.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6121, allocations: 0 / 398.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.6121, allocations: 0 / 398.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6122, allocations: 3.984 kB / 398.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.6154, allocations: 1.499 MB / 399.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6154, allocations: 0 / 399.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.6155, allocations: 4 kB / 399.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.6155, allocations: 0 / 399.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.6156, allocations: 43.97 kB / 399.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.6156, allocations: 8 kB / 399.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6156, allocations: 7.938 kB / 399.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.618, allocations: 1.031 MB / 400.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.6192, allocations: 423.8 kB / 401.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.6194, allocations: 24 kB / 401.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.6199, allocations: 35.88 kB / 401.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.6202, allocations: 71.92 kB / 401.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004231/0.6206, allocations: 267.6 kB / 401.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.6222, allocations: 0.6899 MB / 402.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6223, allocations: 0 / 402.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007327/0.623, allocations: 92 kB / 402.3 MB, free: 12.52 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.002856/0.6259, allocations: 1.627 MB / 403.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.6277, allocations: 0.9169 MB / 404.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6277, allocations: 0 / 404.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.6288, allocations: 0.7686 MB / 405.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.6305, allocations: 232.2 kB / 405.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007698/0.6382, allocations: 3.273 MB / 409.1 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/0.6391, allocations: 0.9635 MB / 410.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.6395, allocations: 93.33 kB / 410.2 MB, free: 4.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.6397, allocations: 87.34 kB / 410.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6398, allocations: 0 / 410.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.6916, allocations: 14.12 MB / 424.4 MB, free: 5.914 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.692, allocations: 176.4 kB / 424.5 MB, free: 5.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.489, allocations: 0 / 424.5 MB, free: 5.668 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat