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.NonInvertingAmp.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.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.204/2.204, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005275, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3339, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4755, allocations: 74.41 MB / 383 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.4759, allocations: 79.95 kB / 383.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02585/0.5017, allocations: 5.166 MB / 388.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5018, allocations: 0 / 388.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.5018, allocations: 4 kB / 388.2 MB, free: 12.78 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.001454/0.5033, allocations: 0.5836 MB / 388.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5034, allocations: 16.03 kB / 388.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.97e-05/0.5035, allocations: 50.55 kB / 388.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.425e-05/0.5036, allocations: 27.72 kB / 388.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.504, allocations: 267.4 kB / 389.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.5041, allocations: 16.42 kB / 389.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.5041, allocations: 20 kB / 389.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.505, allocations: 231.2 kB / 389.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.505, allocations: 0 / 389.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.5051, allocations: 12 kB / 389.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.5051, allocations: 4 kB / 389.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5061, allocations: 225.6 kB / 389.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.5085, allocations: 0.8923 MB / 390.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.5097, allocations: 214.5 kB / 390.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.5097, allocations: 0 / 390.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/0.5104, allocations: 174 kB / 390.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 4.309e-06/0.5105, allocations: 0 / 390.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.003297/0.5138, allocations: 0.5536 MB / 391.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.5139, allocations: 114.8 kB / 391.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.5144, allocations: 224.2 kB / 391.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.5144, allocations: 33.7 kB / 391.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.5146, allocations: 175.8 kB / 392 MB, free: 8.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.5147, allocations: 43.45 kB / 392.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.5148, allocations: 0 / 392.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.515, allocations: 334.8 kB / 392.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.5155, allocations: 103.8 kB / 392.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.516, allocations: 165.4 kB / 392.7 MB, free: 8.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.5166, allocations: 128.1 kB / 392.8 MB, free: 7.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5166, allocations: 4 kB / 392.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001837/0.5185, allocations: 407.8 kB / 393.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.5186, allocations: 37.66 kB / 393.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5186, allocations: 0 / 393.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.5194, allocations: 100.7 kB / 393.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.5198, allocations: 51.95 kB / 393.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.5236, allocations: 1.773 MB / 395.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.5242, allocations: 47.72 kB / 395.2 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.5243, allocations: 16.05 kB / 395.2 MB, free: 5.289 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.5245, allocations: 141.7 kB / 395.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.5246, allocations: 15.81 kB / 395.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.5247, allocations: 29.83 kB / 395.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5247, allocations: 0 / 395.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5247, allocations: 0 / 395.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5247, allocations: 0 / 395.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.5251, allocations: 297.3 kB / 395.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5251, allocations: 0 / 395.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.5254, allocations: 35.92 kB / 395.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007238/0.5261, allocations: 96.97 kB / 395.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5262, allocations: 3.984 kB / 395.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.5298, allocations: 1.746 MB / 397.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5298, allocations: 7.969 kB / 397.6 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.5315, allocations: 334 kB / 397.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5317, allocations: 100.8 kB / 398 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.5317, allocations: 11.95 kB / 398 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.5322, allocations: 31.97 kB / 398 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5323, allocations: 19.97 kB / 398.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.5323, allocations: 4 kB / 398.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003009/0.5326, allocations: 184.5 kB / 398.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5326, allocations: 0 / 398.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.5332, allocations: 75.84 kB / 398.3 MB, free: 1.934 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.002036/0.5353, allocations: 0.8787 MB / 399.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.5368, allocations: 396.4 kB / 399.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5369, allocations: 0 / 399.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.5376, allocations: 235 kB / 399.8 MB, free: 380 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.5381, allocations: 40.48 kB / 399.8 MB, free: 340 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/0.5456, allocations: 2.93 MB / 402.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.5461, allocations: 0.7557 MB / 403.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.5463, allocations: 22.23 kB / 403.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.5465, allocations: 71.41 kB / 403.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5465, allocations: 0 / 403.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.5927, allocations: 5.329 MB / 409 MB, free: 7.148 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003489/0.5931, allocations: 223.1 kB / 409.2 MB, free: 6.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/3.491, allocations: 0 / 409.2 MB, free: 6.902 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat