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.DifferenceAmplifier.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.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 194.8 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 16 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 44.52 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007458/0.297, allocations: 4.645 MB / 313.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.3009, allocations: 1.533 MB / 314.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.3014, allocations: 12 kB / 314.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3017, allocations: 119.1 kB / 314.9 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008381/0.3025, allocations: 315 kB / 315.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.3035, allocations: 271.6 kB / 315.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.305, allocations: 0.8552 MB / 316.3 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.3056, allocations: 308.2 kB / 316.6 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.3063, allocations: 426.7 kB / 317 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009847/0.3073, allocations: 0.5331 MB / 317.5 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.3075, allocations: 68 kB / 317.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.3078, allocations: 68 kB / 317.7 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.3081, allocations: 203.3 kB / 317.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.3084, allocations: 209.1 kB / 318.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.31, allocations: 1.212 MB / 319.3 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.31, allocations: 8 kB / 319.3 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3101, allocations: 0 / 319.3 MB, free: 1.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3101, allocations: 0 / 319.3 MB, free: 1.961 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005507/0.3156, allocations: 1.31 MB / 320.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3157, allocations: 8.031 kB / 320.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003442/0.316, allocations: 135 kB / 320.8 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.3163, allocations: 106.7 kB / 320.9 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3174, allocations: 0.5199 MB / 321.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.3175, allocations: 62 kB / 321.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.3178, allocations: 88 kB / 321.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.322, allocations: 1.154 MB / 322.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.3221, allocations: 3.984 kB / 322.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.3223, allocations: 36 kB / 322.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.3223, allocations: 20 kB / 322.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.3283, allocations: 1.308 MB / 324 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009589/0.3379, allocations: 3.485 MB / 327.5 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/0.3433, allocations: 1.189 MB / 328.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/0.3434, allocations: 8.562 kB / 328.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.3435, allocations: 43.12 kB / 328.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 5.76e-06/0.3435, allocations: 0 / 328.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.01509/0.3586, allocations: 3.403 MB / 332.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.3587, allocations: 60.06 kB / 332.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.3597, allocations: 0.5146 MB / 332.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.3599, allocations: 37.7 kB / 332.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.3603, allocations: 403.4 kB / 333.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.3606, allocations: 252.3 kB / 333.4 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3607, allocations: 20 kB / 333.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.3609, allocations: 382.7 kB / 333.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/0.3636, allocations: 0.5641 MB / 334.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.3664, allocations: 0.6728 MB / 335.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.3691, allocations: 0.6003 MB / 335.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.3692, allocations: 3.938 kB / 335.7 MB, free: 1.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007432/0.3766, allocations: 1.548 MB / 337.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.3767, allocations: 4 kB / 337.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3767, allocations: 4 kB / 337.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009312/0.3776, allocations: 179.5 kB / 337.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.3803, allocations: 291.6 kB / 337.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.3861, allocations: 2.654 MB / 340.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.3881, allocations: 131.9 kB / 340.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.3883, allocations: 31.98 kB / 340.5 MB, free: 12.24 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 87 * 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: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005683/0.3888, allocations: 225.6 kB / 340.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.3891, allocations: 71.16 kB / 340.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3894, allocations: 90.3 kB / 340.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3894, allocations: 8 kB / 340.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.3894, allocations: 4 kB / 340.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3894, allocations: 3.984 kB / 340.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.3914, allocations: 1.009 MB / 341.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3914, allocations: 0 / 341.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/0.3937, allocations: 239.7 kB / 342.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/0.3947, allocations: 180.6 kB / 342.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.3948, allocations: 23.98 kB / 342.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005664/0.4005, allocations: 2.662 MB / 345 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4005, allocations: 0 / 345 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009136/0.4096, allocations: 2.181 MB / 347.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.4099, allocations: 140.2 kB / 347.3 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.4101, allocations: 20.23 kB / 347.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/0.412, allocations: 151.9 kB / 347.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.4122, allocations: 52.61 kB / 347.5 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4124, allocations: 23.98 kB / 347.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000629/0.413, allocations: 358.8 kB / 347.9 MB, free: 4.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.413, allocations: 0 / 347.9 MB, free: 4.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001127/0.4141, allocations: 244 kB / 348.1 MB, free: 4.355 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.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 (56): * Single equations (assignments): 55 * 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: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009495/0.4237, allocations: 2.761 MB / 350.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00667/0.4304, allocations: 1.533 MB / 352.4 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.4304, allocations: 0 / 352.4 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003846/0.4343, allocations: 0.8858 MB / 353.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.4352, allocations: 102.2 kB / 353.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.4545, allocations: 6.309 MB / 359.7 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.4552, allocations: 0.9772 MB / 360.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009382/0.4562, allocations: 77.23 kB / 360.8 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/0.457, allocations: 303.3 kB / 361.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4571, allocations: 0 / 361.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05436/0.5114, allocations: 16.83 MB / 377.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003524/0.5119, allocations: 203.5 kB / 378.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/3.656, allocations: 0 / 378.1 MB, free: 6.18 MB / 314.7 MB