Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="C1.v|C2.v|L.i|Time",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 0.9324/0.9324, allocations: 111.2 MB / 126.7 MB, free: 6.117 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.000259, allocations: 8 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0442/0.04448, allocations: 25.18 MB / 183.4 MB, free: 6 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002439/0.04696, allocations: 1.631 MB / 185.1 MB, free: 4.367 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.04787, allocations: 447.6 kB / 185.5 MB, free: 3.93 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.04799, allocations: 8 kB / 185.5 MB, free: 3.922 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.104e-05/0.04806, allocations: 23.83 kB / 185.5 MB, free: 3.898 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.04826, allocations: 67.78 kB / 185.6 MB, free: 3.832 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.04843, allocations: 35.95 kB / 185.6 MB, free: 3.797 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.04872, allocations: 163.6 kB / 185.8 MB, free: 3.637 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.0489, allocations: 62.02 kB / 185.8 MB, free: 3.574 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.04903, allocations: 71.78 kB / 185.9 MB, free: 3.504 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.04918, allocations: 83.67 kB / 186 MB, free: 3.422 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.04923, allocations: 12 kB / 186 MB, free: 3.41 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.04928, allocations: 12 kB / 186 MB, free: 3.398 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.04934, allocations: 35.83 kB / 186.1 MB, free: 3.363 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.04941, allocations: 57.64 kB / 186.1 MB, free: 3.301 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.04965, allocations: 171.8 kB / 186.3 MB, free: 3.133 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.441e-06/0.04967, allocations: 0 / 186.3 MB, free: 3.133 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.819e-06/0.04968, allocations: 0 / 186.3 MB, free: 3.133 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.978e-06/0.04969, allocations: 0 / 186.3 MB, free: 3.133 MB / 154.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.000771/0.05047, allocations: 475.1 kB / 186.7 MB, free: 2.621 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.05052, allocations: 8.031 kB / 186.8 MB, free: 2.613 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.0506, allocations: 23.72 kB / 186.8 MB, free: 2.59 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.05089, allocations: 210.8 kB / 187 MB, free: 2.344 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.05093, allocations: 16.36 kB / 187 MB, free: 2.328 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.05099, allocations: 20 kB / 187 MB, free: 2.309 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.05146, allocations: 186.5 kB / 187.2 MB, free: 2.121 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.05149, allocations: 0 / 187.2 MB, free: 2.121 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.05153, allocations: 12 kB / 187.2 MB, free: 2.109 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.05155, allocations: 7.953 kB / 187.2 MB, free: 2.102 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.05199, allocations: 143.9 kB / 187.4 MB, free: 1.961 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.05354, allocations: 0.7586 MB / 188.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.05407, allocations: 182.4 kB / 188.3 MB, free: 0.9453 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.0541, allocations: 0 / 188.3 MB, free: 0.9453 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.05414, allocations: 30.56 kB / 188.3 MB, free: 0.9062 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 2.118e-06/0.05416, allocations: 4 kB / 188.3 MB, free: 0.9023 MB / 154.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006103/0.05478, allocations: 201.7 kB / 188.5 MB, free: 0.6992 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.05484, allocations: 51.41 kB / 188.6 MB, free: 0.6367 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.05503, allocations: 150.4 kB / 188.7 MB, free: 492 kB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.05508, allocations: 29.7 kB / 188.8 MB, free: 456 kB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.05522, allocations: 194.6 kB / 188.9 MB, free: 260 kB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.05529, allocations: 55.19 kB / 189 MB, free: 204 kB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.05531, allocations: 0 / 189 MB, free: 204 kB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.05551, allocations: 330.8 kB / 189.3 MB, free: 15.87 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.0557, allocations: 47.98 kB / 189.4 MB, free: 15.82 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.05589, allocations: 76.38 kB / 189.4 MB, free: 15.74 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.0561, allocations: 59.98 kB / 189.5 MB, free: 15.68 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-06/0.05612, allocations: 0 / 189.5 MB, free: 15.68 MB / 170.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000469/0.0566, allocations: 176.2 kB / 189.7 MB, free: 15.51 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.05663, allocations: 4 kB / 189.7 MB, free: 15.5 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-06/0.05664, allocations: 32 / 189.7 MB, free: 15.5 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.05667, allocations: 8 kB / 189.7 MB, free: 15.5 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.05695, allocations: 43.97 kB / 189.7 MB, free: 15.45 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.609e-06/0.05697, allocations: 4 kB / 189.7 MB, free: 15.45 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.05712, allocations: 23.83 kB / 189.8 MB, free: 15.43 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.05715, allocations: 4 kB / 189.8 MB, free: 15.42 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real 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.0002312/0.05739, allocations: 138.2 kB / 189.9 MB, free: 15.28 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.05746, allocations: 15.81 kB / 189.9 MB, free: 15.26 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.05751, allocations: 16.83 kB / 189.9 MB, free: 15.25 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.09e-06/0.05753, allocations: 4 kB / 189.9 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.733e-06/0.05754, allocations: 0 / 189.9 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.381e-06/0.05756, allocations: 0 / 189.9 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.05796, allocations: 265.5 kB / 190.2 MB, free: 14.93 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-06/0.05798, allocations: 0 / 190.2 MB, free: 14.93 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.05827, allocations: 39.98 kB / 190.2 MB, free: 14.89 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.05829, allocations: 11.86 kB / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.05832, allocations: 0 / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.684e-06/0.05833, allocations: 0 / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.565e-06/0.05834, allocations: 4 kB / 190.2 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.05899, allocations: 315.2 kB / 190.6 MB, free: 14.55 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.05909, allocations: 88.97 kB / 190.6 MB, free: 14.45 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.462e-05/0.05913, allocations: 4.031 kB / 190.6 MB, free: 14.45 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.05933, allocations: 16 kB / 190.7 MB, free: 14.43 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.05939, allocations: 11.98 kB / 190.7 MB, free: 14.42 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.05942, allocations: 4 kB / 190.7 MB, free: 14.41 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.05955, allocations: 119.9 kB / 190.8 MB, free: 14.3 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.05956, allocations: 0 / 190.8 MB, free: 14.3 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000386/0.05997, allocations: 47.84 kB / 190.8 MB, free: 14.25 MB / 170.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.00013/0.06011, allocations: 107.2 kB / 190.9 MB, free: 14.14 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.06053, allocations: 131.9 kB / 191.1 MB, free: 14.01 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.04e-06/0.06055, allocations: 0 / 191.1 MB, free: 14.01 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.06073, allocations: 63.91 kB / 191.1 MB, free: 13.95 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.06112, allocations: 36.03 kB / 191.2 MB, free: 13.91 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.06236, allocations: 0.6517 MB / 191.8 MB, free: 13.22 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.0628, allocations: 0.7321 MB / 192.6 MB, free: 12.46 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.06288, allocations: 15.44 kB / 192.6 MB, free: 12.45 MB / 170.7 MB Notification: Performance of SimCode: time 1.581e-06/0.06289, allocations: 0 / 192.6 MB, free: 12.45 MB / 170.7 MB Notification: Performance of Templates: time 0.004492/0.06739, allocations: 1.977 MB / 194.5 MB, free: 10.47 MB / 170.7 MB