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.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_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 16 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09472, allocations: 44.5 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.4903, allocations: 73.27 MB / 381.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4907, allocations: 79.2 kB / 381.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.5069, allocations: 3.965 MB / 385.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.507, allocations: 0 / 385.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.507, allocations: 5.094 kB / 385.9 MB, free: 13.88 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009196/0.5079, allocations: 0.529 MB / 386.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.508, allocations: 9.062 kB / 386.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.889e-05/0.5081, allocations: 61.81 kB / 386.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.5082, allocations: 30.88 kB / 386.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.5085, allocations: 244.5 kB / 386.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.5085, allocations: 20.62 kB / 386.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.5086, allocations: 26.94 kB / 386.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.5091, allocations: 212.8 kB / 387 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5092, allocations: 1.469 kB / 387 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.5092, allocations: 7.938 kB / 387 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5092, allocations: 8.953 kB / 387 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.5097, allocations: 164.9 kB / 387.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.5117, allocations: 0.9167 MB / 388.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.5122, allocations: 153.1 kB / 388.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.5122, allocations: 3.969 kB / 388.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.5123, allocations: 35.16 kB / 388.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.376e-06/0.5123, allocations: 1.312 kB / 388.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.002063/0.5144, allocations: 444.7 kB / 388.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5144, allocations: 65.84 kB / 388.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.5147, allocations: 198.7 kB / 389 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.5147, allocations: 30.67 kB / 389 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.5148, allocations: 230.2 kB / 389.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.5149, allocations: 62.48 kB / 389.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.5149, allocations: 4.438 kB / 389.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.515, allocations: 323.6 kB / 389.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5152, allocations: 54.23 kB / 389.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5153, allocations: 109 kB / 389.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.5155, allocations: 66.34 kB / 389.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5155, allocations: 0 / 389.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009503/0.5165, allocations: 294 kB / 390.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5165, allocations: 8.531 kB / 390.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.5166, allocations: 0 / 390.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007498/0.5173, allocations: 103.1 kB / 390.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.5176, allocations: 40.16 kB / 390.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.5208, allocations: 1.781 MB / 392 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.5211, allocations: 23.09 kB / 392.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5212, allocations: 7.969 kB / 392.1 MB, free: 10.13 MB / 314.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.000177/0.5213, allocations: 142.2 kB / 392.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.5214, allocations: 23.34 kB / 392.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.5215, allocations: 23.83 kB / 392.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5215, allocations: 1.641 kB / 392.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5215, allocations: 0 / 392.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5215, allocations: 7.828 kB / 392.3 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.5219, allocations: 288.6 kB / 392.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5219, allocations: 0 / 392.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.5222, allocations: 28.73 kB / 392.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006542/0.5229, allocations: 94.41 kB / 392.7 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.5229, allocations: 11.12 kB / 392.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.5258, allocations: 1.763 MB / 394.4 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5259, allocations: 0 / 394.4 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.5269, allocations: 390.6 kB / 394.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.527, allocations: 103.6 kB / 394.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.5271, allocations: 3.5 kB / 394.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.5274, allocations: 7.75 kB / 394.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.5274, allocations: 20.86 kB / 395 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5274, allocations: 7.938 kB / 395 MB, free: 8.105 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.5276, allocations: 162.4 kB / 395.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5276, allocations: 0 / 395.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000565/0.5282, allocations: 73.22 kB / 395.2 MB, free: 8.02 MB / 314.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.001209/0.5294, allocations: 0.9239 MB / 396.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.5301, allocations: 266.9 kB / 396.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5301, allocations: 0 / 396.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.5304, allocations: 194.8 kB / 396.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.5308, allocations: 34.69 kB / 396.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/0.5366, allocations: 2.541 MB / 399.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.537, allocations: 0.7572 MB / 399.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.5373, allocations: 74.12 kB / 400 MB, free: 4.699 MB / 314.7 MB Notification: Performance of SimCode: time 2.285e-06/0.5373, allocations: 0 / 400 MB, free: 4.699 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.807/3.344, allocations: 4.505 MB / 404.5 MB, free: 4.441 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat