Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.157/1.157, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.834e-05, allocations: 0 / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 25.16 MB / 179.5 MB, free: 0.832 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06373/0.2333, allocations: 34.53 MB / 214 MB, free: 14.58 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.2336, allocations: 71.95 kB / 214.1 MB, free: 14.51 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0132/0.2469, allocations: 2.997 MB / 217.1 MB, free: 11.51 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2469, allocations: 3.938 kB / 217.1 MB, free: 11.5 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.247, allocations: 4 kB / 217.1 MB, free: 11.5 MB / 186.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.001061/0.248, allocations: 450.4 kB / 217.6 MB, free: 11.02 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.2481, allocations: 8.031 kB / 217.6 MB, free: 11.01 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.88e-05/0.2482, allocations: 50.55 kB / 217.6 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.2483, allocations: 23.7 kB / 217.6 MB, free: 10.93 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.2487, allocations: 215.7 kB / 217.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2487, allocations: 12.36 kB / 217.9 MB, free: 10.66 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.2488, allocations: 20 kB / 217.9 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.2492, allocations: 166.6 kB / 218 MB, free: 10.48 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2493, allocations: 0 / 218 MB, free: 10.48 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.2493, allocations: 11.95 kB / 218.1 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2494, allocations: 8 kB / 218.1 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.2497, allocations: 112 kB / 218.2 MB, free: 10.35 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2516, allocations: 0.7663 MB / 218.9 MB, free: 9.512 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.2521, allocations: 130.6 kB / 219.1 MB, free: 9.375 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.2523, allocations: 80.86 kB / 219.1 MB, free: 9.293 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2523, allocations: 4.25 kB / 219.2 MB, free: 9.289 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.2524, allocations: 46.48 kB / 219.2 MB, free: 9.234 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 3.126e-06/0.2524, allocations: 0 / 219.2 MB, free: 9.234 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003945/0.2528, allocations: 121.5 kB / 219.3 MB, free: 9.109 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.2529, allocations: 55.41 kB / 219.4 MB, free: 9.043 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2531, allocations: 133.5 kB / 219.5 MB, free: 8.902 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2531, allocations: 25.7 kB / 219.5 MB, free: 8.871 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2533, allocations: 202.6 kB / 219.7 MB, free: 8.672 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.2533, allocations: 55.23 kB / 219.8 MB, free: 8.617 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.2533, allocations: 4 kB / 219.8 MB, free: 8.613 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2535, allocations: 314.8 kB / 220.1 MB, free: 8.297 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2536, allocations: 39.95 kB / 220.1 MB, free: 8.258 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2538, allocations: 60.45 kB / 220.2 MB, free: 8.195 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.2539, allocations: 46.02 kB / 220.2 MB, free: 8.152 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.254, allocations: 0 / 220.2 MB, free: 8.152 MB / 186.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003847/0.2543, allocations: 153.4 kB / 220.4 MB, free: 7.996 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2544, allocations: 4 kB / 220.4 MB, free: 7.992 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2544, allocations: 8 kB / 220.4 MB, free: 7.984 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2544, allocations: 0 / 220.4 MB, free: 7.984 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.2549, allocations: 39.97 kB / 220.4 MB, free: 7.945 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2549, allocations: 7.984 kB / 220.4 MB, free: 7.938 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.2551, allocations: 19.84 kB / 220.5 MB, free: 7.918 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.2551, allocations: 4 kB / 220.5 MB, free: 7.914 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" ) "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 () * 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.0001845/0.2553, allocations: 124.8 kB / 220.6 MB, free: 7.785 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.2554, allocations: 11.89 kB / 220.6 MB, free: 7.773 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.2554, allocations: 16.75 kB / 220.6 MB, free: 7.754 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2555, allocations: 0 / 220.6 MB, free: 7.754 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2555, allocations: 0 / 220.6 MB, free: 7.754 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2555, allocations: 0 / 220.6 MB, free: 7.754 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.2559, allocations: 273.4 kB / 220.9 MB, free: 7.438 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.256, allocations: 4 kB / 220.9 MB, free: 7.434 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.2564, allocations: 35.97 kB / 220.9 MB, free: 7.398 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.2564, allocations: 4 kB / 220.9 MB, free: 7.395 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2564, allocations: 4 kB / 220.9 MB, free: 7.391 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2565, allocations: 3.938 kB / 220.9 MB, free: 7.387 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2565, allocations: 3.938 kB / 220.9 MB, free: 7.383 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.257, allocations: 272.5 kB / 221.2 MB, free: 7.102 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.2571, allocations: 96.86 kB / 221.3 MB, free: 6.988 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.2571, allocations: 8.031 kB / 221.3 MB, free: 6.98 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2574, allocations: 12 kB / 221.3 MB, free: 6.969 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2575, allocations: 7.984 kB / 221.3 MB, free: 6.961 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2575, allocations: 8 kB / 221.3 MB, free: 6.953 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2576, allocations: 114.3 kB / 221.4 MB, free: 6.844 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2576, allocations: 0 / 221.4 MB, free: 6.844 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.258, allocations: 51.84 kB / 221.5 MB, free: 6.793 MB / 186.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 () * 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.0008407/0.2589, allocations: 0.812 MB / 222.3 MB, free: 5.957 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.2592, allocations: 99.84 kB / 222.4 MB, free: 5.859 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.2593, allocations: 0 / 222.4 MB, free: 5.859 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.2594, allocations: 60 kB / 222.5 MB, free: 5.801 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.2599, allocations: 31.97 kB / 222.5 MB, free: 5.77 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2613, allocations: 465.6 kB / 222.9 MB, free: 5.273 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2617, allocations: 0.7282 MB / 223.7 MB, free: 4.52 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2618, allocations: 51.42 kB / 223.7 MB, free: 4.469 MB / 186.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2618, allocations: 0 / 223.7 MB, free: 4.469 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.413/2.675, allocations: 2.754 MB / 226.5 MB, free: 1.719 MB / 186.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat