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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.8 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 8 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2937, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4226, allocations: 72.21 MB / 380.8 MB, free: 4.465 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4229, allocations: 71.97 kB / 380.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.436, allocations: 3.105 MB / 384 MB, free: 1.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.436, allocations: 0 / 384 MB, free: 1.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.4361, allocations: 4 kB / 384 MB, free: 1.27 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.0009804/0.4371, allocations: 486.6 kB / 384.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4371, allocations: 8.031 kB / 384.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.304e-05/0.4372, allocations: 54.55 kB / 384.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.4373, allocations: 15.81 kB / 384.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.4376, allocations: 214.7 kB / 384.7 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4377, allocations: 19.95 kB / 384.7 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.4377, allocations: 15.98 kB / 384.8 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.4383, allocations: 181.5 kB / 384.9 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4383, allocations: 0 / 384.9 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.4384, allocations: 8 kB / 384.9 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4384, allocations: 4 kB / 384.9 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.439, allocations: 151.9 kB / 385.1 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.4409, allocations: 0.7663 MB / 385.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.4416, allocations: 176.8 kB / 386 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4416, allocations: 0 / 386 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4417, allocations: 38.56 kB / 386.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.4417, allocations: 3.938 kB / 386.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007681/0.4425, allocations: 193.7 kB / 386.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4425, allocations: 59.41 kB / 386.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.4427, allocations: 140.3 kB / 386.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.4428, allocations: 33.64 kB / 386.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4429, allocations: 136.1 kB / 386.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.4429, allocations: 47.3 kB / 386.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.443, allocations: 4 kB / 386.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4431, allocations: 326.8 kB / 387 MB, free: 14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.4434, allocations: 55.97 kB / 387 MB, free: 13.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4436, allocations: 65.69 kB / 387.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.4439, allocations: 63.98 kB / 387.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4439, allocations: 0 / 387.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006133/0.4445, allocations: 181.4 kB / 387.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4446, allocations: 8 kB / 387.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4446, allocations: 8.016 kB / 387.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4446, allocations: 0 / 387.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.445, allocations: 43.98 kB / 387.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.445, allocations: 0 / 387.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.4453, allocations: 15.89 kB / 387.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.4453, allocations: 8 kB / 387.4 MB, free: 13.55 MB / 330.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.0001769/0.4455, allocations: 129.7 kB / 387.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.4455, allocations: 19.77 kB / 387.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.4456, allocations: 16.84 kB / 387.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4456, allocations: 3.984 kB / 387.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4456, allocations: 0 / 387.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4457, allocations: 0 / 387.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.4461, allocations: 265.5 kB / 387.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4461, allocations: 4 kB / 387.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.4466, allocations: 31.98 kB / 387.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.4466, allocations: 4 kB / 387.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.4466, allocations: 15.89 kB / 387.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.4467, allocations: 3.984 kB / 387.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4467, allocations: 3.938 kB / 387.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/0.4475, allocations: 314.9 kB / 388.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.4476, allocations: 88.95 kB / 388.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.4477, allocations: 4 kB / 388.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.4479, allocations: 19.98 kB / 388.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.448, allocations: 7.984 kB / 388.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.448, allocations: 4 kB / 388.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.4482, allocations: 114.2 kB / 388.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4482, allocations: 4 kB / 388.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004223/0.4486, allocations: 55.84 kB / 388.5 MB, free: 12.37 MB / 330.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.001122/0.4497, allocations: 0.8457 MB / 389.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.4503, allocations: 132.8 kB / 389.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4503, allocations: 4.062 kB / 389.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.4506, allocations: 72.03 kB / 389.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.451, allocations: 31.92 kB / 389.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.4541, allocations: 1.326 MB / 390.9 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4545, allocations: 0.7243 MB / 391.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.4547, allocations: 13.42 kB / 391.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.4548, allocations: 51.42 kB / 391.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4548, allocations: 0 / 391.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4799, allocations: 2.936 MB / 394.7 MB, free: 6.172 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003975/0.4804, allocations: 178.6 kB / 394.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.131, allocations: 0 / 394.8 MB, free: 5.93 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat