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.InvertingAmp.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.InvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.329/2.329, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.457, allocations: 74.42 MB / 383 MB, free: 2.137 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.4574, allocations: 83.95 kB / 383.1 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02681/0.4843, allocations: 5.154 MB / 388.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4843, allocations: 0 / 388.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.4844, allocations: 4 kB / 388.2 MB, free: 12.88 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001561/0.4859, allocations: 0.5836 MB / 388.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.486, allocations: 11.97 kB / 388.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.4862, allocations: 54.55 kB / 388.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.4863, allocations: 31.7 kB / 388.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.4868, allocations: 259.5 kB / 389.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.4868, allocations: 12.44 kB / 389.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.4869, allocations: 24 kB / 389.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.4878, allocations: 231.2 kB / 389.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4878, allocations: 0 / 389.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.4879, allocations: 8 kB / 389.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.4879, allocations: 8 kB / 389.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.489, allocations: 233.6 kB / 389.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.4914, allocations: 0.8844 MB / 390.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4926, allocations: 230.5 kB / 390.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.4927, allocations: 0 / 390.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006945/0.4934, allocations: 169.9 kB / 391 MB, free: 9.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.4935, allocations: 0 / 391 MB, free: 9.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.003288/0.4967, allocations: 0.5423 MB / 391.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.4969, allocations: 102.8 kB / 391.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.4973, allocations: 236 kB / 391.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.4974, allocations: 29.7 kB / 391.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.4976, allocations: 164 kB / 392 MB, free: 8.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.4977, allocations: 55.31 kB / 392.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.4977, allocations: 0 / 392.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4979, allocations: 338.8 kB / 392.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.4984, allocations: 95.98 kB / 392.5 MB, free: 8.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.4989, allocations: 152 kB / 392.6 MB, free: 8.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.4995, allocations: 121.7 kB / 392.8 MB, free: 8.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4995, allocations: 0 / 392.8 MB, free: 8.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00188/0.5014, allocations: 399.7 kB / 393.2 MB, free: 7.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.5015, allocations: 37.66 kB / 393.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5015, allocations: 4 kB / 393.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008125/0.5023, allocations: 92.72 kB / 393.3 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.5027, allocations: 47.97 kB / 393.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.5069, allocations: 1.769 MB / 395.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.5075, allocations: 47.84 kB / 395.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5076, allocations: 8.062 kB / 395.2 MB, free: 5.457 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002666/0.5078, allocations: 149.7 kB / 395.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.5079, allocations: 19.72 kB / 395.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.508, allocations: 17.84 kB / 395.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.508, allocations: 4 kB / 395.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.508, allocations: 3.984 kB / 395.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.508, allocations: 3.938 kB / 395.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.5084, allocations: 285.5 kB / 395.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5085, allocations: 0 / 395.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.5088, allocations: 35.97 kB / 395.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007284/0.5095, allocations: 92.78 kB / 395.8 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5095, allocations: 4 kB / 395.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/0.5131, allocations: 1.673 MB / 397.4 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5132, allocations: 3.938 kB / 397.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.5148, allocations: 334 kB / 397.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.515, allocations: 96.81 kB / 397.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.5151, allocations: 8 kB / 397.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.5155, allocations: 35.97 kB / 397.9 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5157, allocations: 23.92 kB / 397.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.5157, allocations: 7.984 kB / 397.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003119/0.516, allocations: 180.5 kB / 398.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5161, allocations: 0 / 398.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005797/0.5166, allocations: 67.84 kB / 398.2 MB, free: 2.191 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002055/0.5187, allocations: 0.8746 MB / 399 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.5202, allocations: 385.9 kB / 399.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5202, allocations: 0 / 399.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.5209, allocations: 234.9 kB / 399.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.5214, allocations: 36.36 kB / 399.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/0.5269, allocations: 2.421 MB / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5273, allocations: 0.7482 MB / 402.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.5276, allocations: 29.88 kB / 402.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.5278, allocations: 71.42 kB / 403 MB, free: 13.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5278, allocations: 0 / 403 MB, free: 13.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.5617, allocations: 5.289 MB / 408.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004042/0.5622, allocations: 211.5 kB / 408.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.294, allocations: 3.938 kB / 408.5 MB, free: 7.742 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat