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.Integrator.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.Integrator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 11.98 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09515, allocations: 44.5 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5207, allocations: 74.55 MB / 383.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.521, allocations: 81.09 kB / 383.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02254/0.5436, allocations: 4.964 MB / 388.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5436, allocations: 0 / 388.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.5437, allocations: 3.875 kB / 388.1 MB, free: 13.92 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001268/0.545, allocations: 0.5751 MB / 388.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.545, allocations: 7.656 kB / 388.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.015e-05/0.5451, allocations: 51.89 kB / 388.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.5452, allocations: 26.66 kB / 388.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.5455, allocations: 258.6 kB / 389.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.5456, allocations: 15.34 kB / 389.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.5456, allocations: 18.19 kB / 389.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.5464, allocations: 229.2 kB / 389.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5464, allocations: 3.984 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.5464, allocations: 6.562 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.5465, allocations: 3.969 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.5474, allocations: 219.9 kB / 389.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.5493, allocations: 0.8414 MB / 390.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.5503, allocations: 215.5 kB / 390.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.5504, allocations: 7.859 kB / 390.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005709/0.5509, allocations: 156.5 kB / 390.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.875e-06/0.551, allocations: 0 / 390.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.002522/0.5535, allocations: 495.8 kB / 391.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.5536, allocations: 87.41 kB / 391.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5539, allocations: 202.4 kB / 391.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.5539, allocations: 39.59 kB / 391.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.554, allocations: 216.4 kB / 391.8 MB, free: 12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.5541, allocations: 40.23 kB / 391.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.5541, allocations: 6.812 kB / 391.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.5542, allocations: 317.5 kB / 392.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.5546, allocations: 87.47 kB / 392.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.5551, allocations: 145.8 kB / 392.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.5556, allocations: 124.6 kB / 392.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5556, allocations: 0 / 392.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001494/0.5571, allocations: 358.7 kB / 392.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.5572, allocations: 37.02 kB / 392.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5572, allocations: 0 / 392.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.5578, allocations: 82.92 kB / 392.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.5582, allocations: 50.14 kB / 393 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.5608, allocations: 1.497 MB / 394.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.5614, allocations: 50.06 kB / 394.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.5614, allocations: 7.75 kB / 394.5 MB, free: 10.07 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: 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 (20): * Single equations (assignments): 18 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.5616, allocations: 142.4 kB / 394.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.5617, allocations: 19.45 kB / 394.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.5617, allocations: 22.97 kB / 394.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5617, allocations: 7.875 kB / 394.7 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5618, allocations: 3.938 kB / 394.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.5618, allocations: 0 / 394.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.5621, allocations: 272.7 kB / 395 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5621, allocations: 3.844 kB / 395 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.5624, allocations: 36.67 kB / 395 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/0.563, allocations: 76.03 kB / 395.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5631, allocations: 3.375 kB / 395.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.5654, allocations: 1.494 MB / 396.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5655, allocations: 0 / 396.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.5673, allocations: 414.7 kB / 397 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.5674, allocations: 99.59 kB / 397.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.5675, allocations: 2.75 kB / 397.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.5678, allocations: 30.98 kB / 397.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.568, allocations: 22.77 kB / 397.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.568, allocations: 7.875 kB / 397.2 MB, free: 8.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.5682, allocations: 164.8 kB / 397.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5682, allocations: 0 / 397.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.5687, allocations: 60.34 kB / 397.4 MB, free: 8.105 MB / 314.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: 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002065/0.5707, allocations: 0.9467 MB / 398.3 MB, free: 7.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.572, allocations: 381.4 kB / 398.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.572, allocations: 384 / 398.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.5725, allocations: 206.2 kB / 398.9 MB, free: 7.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5729, allocations: 34.86 kB / 399 MB, free: 7.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.5772, allocations: 2.452 MB / 401.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.5775, allocations: 0.7482 MB / 402.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.5777, allocations: 64.53 kB / 402.2 MB, free: 4.855 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5777, allocations: 0 / 402.2 MB, free: 4.855 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/3.164, allocations: 4.677 MB / 406.9 MB, free: 4.469 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.Integrator_res.mat does not exist to compare? outputFormat=mat