Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004748, allocations: 12 kB / 233.3 MB, free: 0.8359 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.08037, allocations: 38.76 MB / 272.1 MB, free: 9.992 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.3978, allocations: 67.07 MB / 339.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.3981, allocations: 71.95 kB / 339.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.4126, allocations: 3.176 MB / 342.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4127, allocations: 0 / 342.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.4127, allocations: 4 kB / 342.4 MB, free: 12.59 MB / 282.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.001132/0.4139, allocations: 478.7 kB / 342.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4139, allocations: 8.031 kB / 342.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.414, allocations: 54.55 kB / 342.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.4141, allocations: 23.72 kB / 343 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.4145, allocations: 206.8 kB / 343.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.4146, allocations: 19.95 kB / 343.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.4147, allocations: 23.98 kB / 343.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.4154, allocations: 177.6 kB / 343.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4154, allocations: 0 / 343.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.4155, allocations: 4 kB / 343.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4155, allocations: 4 kB / 343.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.4162, allocations: 155.8 kB / 343.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.4185, allocations: 0.7663 MB / 344.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.4194, allocations: 166.6 kB / 344.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4194, allocations: 4 kB / 344.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.4195, allocations: 34.56 kB / 344.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.4195, allocations: 3.938 kB / 344.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009453/0.4205, allocations: 193.7 kB / 344.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4205, allocations: 55.41 kB / 344.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.4208, allocations: 141.5 kB / 344.9 MB, free: 9.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.4208, allocations: 25.7 kB / 344.9 MB, free: 9.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.421, allocations: 198.6 kB / 345.1 MB, free: 9.664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/0.4211, allocations: 55.19 kB / 345.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.4211, allocations: 4 kB / 345.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4213, allocations: 318.8 kB / 345.5 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.4216, allocations: 51.97 kB / 345.5 MB, free: 9.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4219, allocations: 72.61 kB / 345.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.4222, allocations: 68.55 kB / 345.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4223, allocations: 0 / 345.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007271/0.423, allocations: 174.6 kB / 345.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.423, allocations: 12.03 kB / 345.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4231, allocations: 0 / 345.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4231, allocations: 3.953 kB / 345.9 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.4236, allocations: 47.92 kB / 345.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4236, allocations: 3.984 kB / 345.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.4239, allocations: 15.84 kB / 345.9 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.4239, allocations: 8 kB / 345.9 MB, free: 8.828 MB / 282.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.0001899/0.4241, allocations: 129.8 kB / 346.1 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.4242, allocations: 11.81 kB / 346.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.4243, allocations: 20.83 kB / 346.1 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4243, allocations: 3.938 kB / 346.1 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4243, allocations: 3.953 kB / 346.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4244, allocations: 0 / 346.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.425, allocations: 265.5 kB / 346.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.425, allocations: 4 kB / 346.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.4255, allocations: 35.97 kB / 346.4 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4255, allocations: 4 kB / 346.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.4256, allocations: 8 kB / 346.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4256, allocations: 0.8125 kB / 346.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4256, allocations: 0 / 346.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4267, allocations: 315.2 kB / 346.7 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.4268, allocations: 88.95 kB / 346.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.4269, allocations: 8.031 kB / 346.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.4273, allocations: 12 kB / 346.8 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.4274, allocations: 7.984 kB / 346.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4274, allocations: 8 kB / 346.8 MB, free: 7.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.4276, allocations: 119.8 kB / 347 MB, free: 7.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4276, allocations: 0 / 347 MB, free: 7.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006987/0.4283, allocations: 47.84 kB / 347 MB, free: 7.66 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.01361/0.442, allocations: 0.8578 MB / 347.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006995/0.4427, allocations: 139.9 kB / 348 MB, free: 6.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4427, allocations: 0 / 348 MB, free: 6.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.443, allocations: 59.98 kB / 348.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.4436, allocations: 24.53 kB / 348.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.4477, allocations: 1.371 MB / 349.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.4482, allocations: 0.7282 MB / 350.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4484, allocations: 51.42 kB / 350.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4484, allocations: 0 / 350.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.415/2.863, allocations: 2.729 MB / 353 MB, free: 1.594 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat