Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09568, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5063, allocations: 72.21 MB / 380.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5067, allocations: 71.33 kB / 380.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.5195, allocations: 3.098 MB / 383.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5196, allocations: 0 / 383.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.5196, allocations: 4.125 kB / 383.9 MB, free: 14.36 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.0008218/0.5204, allocations: 475.4 kB / 384.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5205, allocations: 17.42 kB / 384.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/0.5206, allocations: 52.8 kB / 384.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.5206, allocations: 17.44 kB / 384.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5209, allocations: 215.6 kB / 384.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.5209, allocations: 19.88 kB / 384.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.521, allocations: 17.81 kB / 384.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.5215, allocations: 178.9 kB / 384.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5215, allocations: 0 / 384.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.5216, allocations: 13.19 kB / 384.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5216, allocations: 4.125 kB / 384.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.5221, allocations: 141.8 kB / 385.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.5238, allocations: 0.7706 MB / 385.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.5244, allocations: 175.2 kB / 386 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5245, allocations: 1.406 kB / 386 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.5245, allocations: 43.34 kB / 386 MB, free: 13.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.805e-06/0.5245, allocations: 0 / 386 MB, free: 13.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007228/0.5253, allocations: 198.5 kB / 386.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5253, allocations: 60.78 kB / 386.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.5255, allocations: 135 kB / 386.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.5255, allocations: 31.23 kB / 386.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.5256, allocations: 201 kB / 386.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.5256, allocations: 47.44 kB / 386.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.5257, allocations: 3 kB / 386.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.5257, allocations: 319.5 kB / 387 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5259, allocations: 56.27 kB / 387.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5262, allocations: 72.23 kB / 387.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.5264, allocations: 59.73 kB / 387.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5264, allocations: 0 / 387.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005271/0.527, allocations: 188.1 kB / 387.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.527, allocations: 5.594 kB / 387.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.527, allocations: 0 / 387.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.527, allocations: 1.312 kB / 387.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.5274, allocations: 40.22 kB / 387.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.5275, allocations: 5.531 kB / 387.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.5277, allocations: 25.38 kB / 387.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.5277, allocations: 6.812 kB / 387.5 MB, free: 12.3 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.0001438/0.5279, allocations: 126.1 kB / 387.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.5279, allocations: 16.61 kB / 387.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.528, allocations: 15.44 kB / 387.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.528, allocations: 1.375 kB / 387.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.528, allocations: 4.578 kB / 387.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.528, allocations: 4 kB / 387.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.5284, allocations: 260.5 kB / 387.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5284, allocations: 0 / 387.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.5288, allocations: 46.81 kB / 387.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5288, allocations: 1.094 kB / 387.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.5289, allocations: 6.984 kB / 387.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5289, allocations: 3.938 kB / 387.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5289, allocations: 0.8125 kB / 387.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.5296, allocations: 305 kB / 388.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.5297, allocations: 91.03 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.5297, allocations: 4.031 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.53, allocations: 21.14 kB / 388.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.5301, allocations: 12.25 kB / 388.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.5301, allocations: 2.625 kB / 388.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.5302, allocations: 116.8 kB / 388.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5302, allocations: 0 / 388.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004171/0.5306, allocations: 53.59 kB / 388.5 MB, free: 11.63 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.0009928/0.5316, allocations: 0.853 MB / 389.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.5322, allocations: 132.8 kB / 389.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5322, allocations: 1.281 kB / 389.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.5324, allocations: 67.31 kB / 389.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.5328, allocations: 27.23 kB / 389.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.5356, allocations: 1.36 MB / 391 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5359, allocations: 0.7273 MB / 391.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5361, allocations: 50.03 kB / 391.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5361, allocations: 0 / 391.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.489/3.025, allocations: 2.734 MB / 394.5 MB, free: 9.227 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat