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.OpAmps.LCOscillator.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.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.335/2.335, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004808, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4512, allocations: 73.28 MB / 381.9 MB, free: 3.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.4516, allocations: 83.95 kB / 381.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.4684, allocations: 3.967 MB / 385.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4685, allocations: 4 kB / 385.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.4685, allocations: 4 kB / 385.9 MB, free: 15.22 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001088/0.4696, allocations: 0.5151 MB / 386.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4697, allocations: 12.03 kB / 386.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.4698, allocations: 58.55 kB / 386.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.4699, allocations: 35.61 kB / 386.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.4703, allocations: 242.6 kB / 386.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.4704, allocations: 16.56 kB / 386.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.4704, allocations: 31.92 kB / 386.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.471, allocations: 212.9 kB / 387 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4711, allocations: 0 / 387 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.4711, allocations: 12 kB / 387 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4712, allocations: 8 kB / 387 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.4716, allocations: 166.2 kB / 387.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.4739, allocations: 0.9173 MB / 388.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.4744, allocations: 150.5 kB / 388.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.4745, allocations: 8 kB / 388.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.4745, allocations: 30.56 kB / 388.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.725e-06/0.4745, allocations: 3.938 kB / 388.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.00219/0.4767, allocations: 449.9 kB / 388.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4768, allocations: 59.31 kB / 388.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.4771, allocations: 199.3 kB / 389 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4771, allocations: 33.7 kB / 389 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.4773, allocations: 175.5 kB / 389.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.4774, allocations: 63.09 kB / 389.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.4774, allocations: 4 kB / 389.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4776, allocations: 326.8 kB / 389.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4777, allocations: 52.44 kB / 389.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.4779, allocations: 103.1 kB / 389.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4781, allocations: 68.94 kB / 389.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4781, allocations: 0 / 389.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001089/0.4792, allocations: 303.9 kB / 390.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4793, allocations: 8 kB / 390.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4793, allocations: 3.938 kB / 390.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007995/0.4801, allocations: 96.78 kB / 390.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.4805, allocations: 47.91 kB / 390.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.4843, allocations: 1.785 MB / 392 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.4846, allocations: 19.78 kB / 392.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.4846, allocations: 12 kB / 392.1 MB, free: 8.625 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.4849, allocations: 133.7 kB / 392.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.4849, allocations: 19.81 kB / 392.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.485, allocations: 25.86 kB / 392.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.485, allocations: 4 kB / 392.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4851, allocations: 4.062 kB / 392.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4851, allocations: 3.953 kB / 392.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.4856, allocations: 293.4 kB / 392.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4856, allocations: 0 / 392.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.4859, allocations: 35.97 kB / 392.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007341/0.4866, allocations: 92.78 kB / 392.7 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.4867, allocations: 4 kB / 392.7 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.4903, allocations: 1.762 MB / 394.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4903, allocations: 0 / 394.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4915, allocations: 393.5 kB / 394.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4917, allocations: 96.89 kB / 394.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.4917, allocations: 11.92 kB / 394.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.492, allocations: 16.06 kB / 394.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.4921, allocations: 8.219 kB / 395 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.4921, allocations: 8 kB / 395 MB, free: 5.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.4924, allocations: 163.5 kB / 395.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4924, allocations: 0 / 395.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005884/0.493, allocations: 75.84 kB / 395.2 MB, free: 5.262 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/0.4946, allocations: 0.9297 MB / 396.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.4954, allocations: 262.5 kB / 396.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4954, allocations: 0 / 396.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.4958, allocations: 195 kB / 396.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.4962, allocations: 24.62 kB / 396.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.5018, allocations: 2.524 MB / 399.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.5023, allocations: 0.7558 MB / 399.9 MB, free: 436 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.5025, allocations: 13.95 kB / 399.9 MB, free: 416 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5026, allocations: 75.41 kB / 400 MB, free: 340 kB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5026, allocations: 4 kB / 400 MB, free: 336 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.5385, allocations: 4.552 MB / 404.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.5389, allocations: 211.6 kB / 404.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.304, allocations: 0 / 404.7 MB, free: 11.57 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat