Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 2.265/2.265, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005171, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.5818, allocations: 72.21 MB / 381.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/0.5823, allocations: 72.61 kB / 381.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03694/0.6192, allocations: 3.109 MB / 384.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6193, allocations: 0 / 384.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.6194, allocations: 4.125 kB / 384.4 MB, free: 14.9 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.009496/0.6289, allocations: 471.6 kB / 384.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.629, allocations: 8.25 kB / 384.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.6291, allocations: 21.77 kB / 384.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.6295, allocations: 220 kB / 385.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.6296, allocations: 19.19 kB / 385.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.6296, allocations: 17.75 kB / 385.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.6305, allocations: 181.1 kB / 385.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6305, allocations: 0 / 385.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.6306, allocations: 6.094 kB / 385.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.6306, allocations: 3.844 kB / 385.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.6315, allocations: 153.2 kB / 385.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.6342, allocations: 0.7633 MB / 386.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.6352, allocations: 177.1 kB / 386.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.6353, allocations: 1.25 kB / 386.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.6354, allocations: 38.67 kB / 386.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.439e-06/0.6354, allocations: 0 / 386.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001127/0.6365, allocations: 197.1 kB / 386.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.6366, allocations: 53.03 kB / 386.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.6369, allocations: 156 kB / 386.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.6369, allocations: 33.14 kB / 386.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.6371, allocations: 138.9 kB / 387.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.6371, allocations: 48.33 kB / 387.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.6372, allocations: 4.938 kB / 387.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.6373, allocations: 320.6 kB / 387.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.6376, allocations: 55.27 kB / 387.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.638, allocations: 74.31 kB / 387.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.6384, allocations: 60.95 kB / 387.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6384, allocations: 0 / 387.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008588/0.6393, allocations: 187.5 kB / 387.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6394, allocations: 5.312 kB / 387.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.6394, allocations: 0 / 387.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.163e-05/0.6395, allocations: 1.312 kB / 387.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.64, allocations: 45.8 kB / 387.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.6401, allocations: 1.312 kB / 387.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.6404, allocations: 19.47 kB / 387.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.6405, allocations: 3.969 kB / 387.9 MB, free: 12.95 MB / 314.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.0002216/0.6407, allocations: 138.2 kB / 388 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.6408, allocations: 18.2 kB / 388 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.6409, allocations: 20.59 kB / 388 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6409, allocations: 1.281 kB / 388 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6409, allocations: 0 / 388 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.641, allocations: 5.297 kB / 388 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.6415, allocations: 256.4 kB / 388.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6416, allocations: 1.375 kB / 388.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.6422, allocations: 43.02 kB / 388.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.6422, allocations: 1.312 kB / 388.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.6422, allocations: 8.703 kB / 388.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.6423, allocations: 3.938 kB / 388.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6423, allocations: 1.281 kB / 388.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6434, allocations: 311.4 kB / 388.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.6435, allocations: 89.48 kB / 388.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.6436, allocations: 11.28 kB / 388.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.644, allocations: 16.61 kB / 388.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.6441, allocations: 10.53 kB / 388.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.6442, allocations: 6.656 kB / 388.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.6443, allocations: 115.7 kB / 388.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.6444, allocations: 0 / 388.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006645/0.6451, allocations: 51.12 kB / 389 MB, free: 12.26 MB / 314.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.0001936/0.6453, allocations: 103.8 kB / 389.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.646, allocations: 133.5 kB / 389.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.646, allocations: 0 / 389.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.6464, allocations: 69.16 kB / 389.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.647, allocations: 29.44 kB / 389.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.6491, allocations: 0.6308 MB / 389.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.6494, allocations: 0.7261 MB / 390.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.6496, allocations: 14.09 kB / 390.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.6497, allocations: 14.44 kB / 390.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of SimCode: time 3.096e-06/0.6498, allocations: 0 / 390.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of Templates: time 0.008423/0.6582, allocations: 1.463 MB / 392.1 MB, free: 10.91 MB / 314.7 MB "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time