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.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3407, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4801, allocations: 73.24 MB / 381.8 MB, free: 3.312 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.4805, allocations: 79.95 kB / 381.9 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.5003, allocations: 4.386 MB / 386.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.5003, allocations: 0 / 386.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.5004, allocations: 11.94 kB / 386.3 MB, free: 14.82 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001227/0.5016, allocations: 0.5427 MB / 386.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.5017, allocations: 12.03 kB / 386.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.5018, allocations: 66.53 kB / 386.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.502, allocations: 31.62 kB / 386.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.5025, allocations: 266.5 kB / 387.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.5025, allocations: 20.66 kB / 387.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.5026, allocations: 28 kB / 387.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.5033, allocations: 258.1 kB / 387.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.5034, allocations: 4 kB / 387.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.5034, allocations: 12 kB / 387.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.5035, allocations: 8 kB / 387.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.5041, allocations: 202.5 kB / 387.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.507, allocations: 1.122 MB / 388.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.5078, allocations: 199.2 kB / 389 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.5079, allocations: 7.953 kB / 389.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.508, allocations: 34.56 kB / 389.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.386e-06/0.508, allocations: 0 / 389.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.003746/0.5117, allocations: 0.6747 MB / 389.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.5118, allocations: 59.36 kB / 389.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.5123, allocations: 239.9 kB / 390.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.5123, allocations: 25.7 kB / 390.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.5125, allocations: 203.5 kB / 390.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.5126, allocations: 70.98 kB / 390.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.5127, allocations: 8 kB / 390.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5129, allocations: 334.8 kB / 390.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.513, allocations: 55.98 kB / 390.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.5133, allocations: 151 kB / 390.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.5136, allocations: 83.94 kB / 391 MB, free: 9.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5136, allocations: 0 / 391 MB, free: 9.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001846/0.5154, allocations: 414.8 kB / 391.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.5156, allocations: 4 kB / 391.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5156, allocations: 4 kB / 391.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.5171, allocations: 173.6 kB / 391.5 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.5175, allocations: 59.91 kB / 391.6 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007335/0.5249, allocations: 3.274 MB / 394.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.5253, allocations: 27.69 kB / 394.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5253, allocations: 8 kB / 394.9 MB, free: 5.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.5256, allocations: 145.8 kB / 395.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.5257, allocations: 27.95 kB / 395.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.5258, allocations: 26.17 kB / 395.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5258, allocations: 7.984 kB / 395.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5258, allocations: 3.953 kB / 395.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5258, allocations: 0 / 395.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.5264, allocations: 317.3 kB / 395.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5264, allocations: 0 / 395.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.5267, allocations: 23.98 kB / 395.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.5282, allocations: 169.6 kB / 395.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.5283, allocations: 7.984 kB / 395.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006594/0.5349, allocations: 3.158 MB / 398.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5349, allocations: 0 / 398.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.5368, allocations: 480.7 kB / 399.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.5369, allocations: 104.8 kB / 399.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.537, allocations: 4 kB / 399.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.5373, allocations: 16.06 kB / 399.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.5374, allocations: 19.91 kB / 399.4 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.5374, allocations: 11.94 kB / 399.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.5377, allocations: 176.5 kB / 399.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5377, allocations: 0 / 399.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.5384, allocations: 91.8 kB / 399.7 MB, free: 420 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.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 (14): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/0.5407, allocations: 1.018 MB / 400.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009374/0.5417, allocations: 417.2 kB / 401.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.5417, allocations: 4 kB / 401.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.5422, allocations: 309.3 kB / 401.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.5427, allocations: 37.19 kB / 401.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.5478, allocations: 3.465 MB / 404.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.5483, allocations: 0.7719 MB / 405.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.5485, allocations: 26.28 kB / 405.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.5487, allocations: 83.34 kB / 405.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5487, allocations: 0 / 405.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.5837, allocations: 5.496 MB / 411.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/0.5841, allocations: 219.2 kB / 411.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/3.345, allocations: 3.938 kB / 411.5 MB, free: 4.383 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat