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.Analog.Examples.ChuaCircuit.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.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 1.621/1.621, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07062/0.071, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.3803, allocations: 67.07 MB / 339.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.3805, allocations: 72.45 kB / 339.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.3925, allocations: 3.167 MB / 342.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.281e-06/0.3925, allocations: 4 kB / 342.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3925, allocations: 6.406 kB / 342.3 MB, free: 4.082 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007579/0.3933, allocations: 473.8 kB / 342.8 MB, free: 3.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3934, allocations: 8.031 kB / 342.8 MB, free: 3.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.3934, allocations: 23.72 kB / 342.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3937, allocations: 212.7 kB / 343 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.3938, allocations: 18.08 kB / 343 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.3938, allocations: 21.23 kB / 343.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.3943, allocations: 175.2 kB / 343.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3943, allocations: 0 / 343.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3944, allocations: 5.875 kB / 343.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.48e-06/0.3944, allocations: 4 kB / 343.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.3948, allocations: 154.4 kB / 343.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.3964, allocations: 0.7639 MB / 344.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.3969, allocations: 170.4 kB / 344.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.397, allocations: 4 kB / 344.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.397, allocations: 33.62 kB / 344.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.587e-06/0.397, allocations: 0 / 344.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009455/0.398, allocations: 207.1 kB / 344.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3981, allocations: 51.41 kB / 344.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.3983, allocations: 135.2 kB / 344.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.3984, allocations: 33.64 kB / 344.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3986, allocations: 193.7 kB / 345 MB, free: 1.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.3987, allocations: 55.83 kB / 345 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.3987, allocations: 7.125 kB / 345 MB, free: 1.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3989, allocations: 321.5 kB / 345.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.3992, allocations: 50.59 kB / 345.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.3996, allocations: 83.94 kB / 345.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.4, allocations: 57.73 kB / 345.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.329e-06/0.4, allocations: 0 / 345.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008905/0.4009, allocations: 182.5 kB / 345.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.401, allocations: 8 kB / 345.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.401, allocations: 0 / 345.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.4011, allocations: 0 / 345.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.4016, allocations: 51.62 kB / 345.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4016, allocations: 3.984 kB / 345.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.4019, allocations: 15.84 kB / 345.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.4019, allocations: 11.56 kB / 345.8 MB, free: 0.8555 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.000222/0.4022, allocations: 120.9 kB / 345.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.4023, allocations: 11.81 kB / 345.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.4024, allocations: 28.08 kB / 346 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-06/0.4024, allocations: 0 / 346 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/0.4024, allocations: 3.953 kB / 346 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4024, allocations: 0 / 346 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.4031, allocations: 270.9 kB / 346.2 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-06/0.4031, allocations: 0 / 346.2 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.4035, allocations: 39.97 kB / 346.3 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.399e-06/0.4036, allocations: 4 kB / 346.3 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.4036, allocations: 3.938 kB / 346.3 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.673e-06/0.4036, allocations: 0 / 346.3 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.507e-06/0.4036, allocations: 0 / 346.3 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4047, allocations: 313.9 kB / 346.6 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.4049, allocations: 95.92 kB / 346.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.405, allocations: 3.938 kB / 346.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.4053, allocations: 15.56 kB / 346.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.4054, allocations: 11.98 kB / 346.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.4055, allocations: 0 / 346.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.4057, allocations: 121.3 kB / 346.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.64e-07/0.4057, allocations: 0 / 346.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007152/0.4064, allocations: 51.05 kB / 346.9 MB, free: 15.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0002105/0.4066, allocations: 107.2 kB / 347 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.4073, allocations: 135 kB / 347.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.919e-06/0.4074, allocations: 0 / 347.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.4077, allocations: 66.03 kB / 347.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.4082, allocations: 30.86 kB / 347.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.4104, allocations: 0.6601 MB / 347.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.411, allocations: 0.7282 MB / 348.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.4111, allocations: 15.44 kB / 348.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of SimCode: time 2.195e-06/0.4111, allocations: 0 / 348.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Templates: time 0.004681/0.4158, allocations: 1.964 MB / 350.6 MB, free: 12.15 MB / 282.7 MB "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,der(C1.v),C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,der(C2.v),C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.v,Gnd.p.i,Gnd.p.v,L.L,der(L.i),L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.v,time