Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.235/2.235, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3338, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.5129, allocations: 97.78 MB / 406.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.5133, allocations: 75.97 kB / 406.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5428/1.056, allocations: 74.2 MB / 480.6 MB, free: 44.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.056, allocations: 0 / 480.6 MB, free: 44.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.58e-05/1.056, allocations: 12.19 kB / 480.6 MB, free: 44.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003543/1.06, allocations: 1.423 MB / 482.1 MB, free: 42.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.06, allocations: 8.031 kB / 482.1 MB, free: 42.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.998e-05/1.06, allocations: 62.53 kB / 482.1 MB, free: 42.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/1.06, allocations: 130.5 kB / 482.3 MB, free: 42.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/1.062, allocations: 0.756 MB / 483 MB, free: 41.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.062, allocations: 24.55 kB / 483 MB, free: 41.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/1.062, allocations: 24 kB / 483.1 MB, free: 41.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.063, allocations: 400.3 kB / 483.4 MB, free: 41.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.063, allocations: 0 / 483.4 MB, free: 41.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/1.063, allocations: 12 kB / 483.5 MB, free: 41.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/1.063, allocations: 8 kB / 483.5 MB, free: 41.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.065, allocations: 386 kB / 483.8 MB, free: 40.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/1.067, allocations: 1.281 MB / 485.1 MB, free: 39.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.069, allocations: 310.5 kB / 485.4 MB, free: 39.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/1.08, allocations: 9.227 MB / 494.7 MB, free: 28.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/1.081, allocations: 229.7 kB / 494.9 MB, free: 28.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.266e-06/1.081, allocations: 0 / 494.9 MB, free: 28.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.002315/1.083, allocations: 0.6221 MB / 495.5 MB, free: 27.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/1.083, allocations: 106.8 kB / 495.6 MB, free: 27.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.085, allocations: 0.7713 MB / 496.4 MB, free: 26.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/1.085, allocations: 37.7 kB / 496.4 MB, free: 26.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/1.085, allocations: 464.3 kB / 496.9 MB, free: 26.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/1.085, allocations: 63.23 kB / 496.9 MB, free: 26.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/1.085, allocations: 4 kB / 496.9 MB, free: 26.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/1.085, allocations: 318 kB / 497.2 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/1.086, allocations: 147.9 kB / 497.4 MB, free: 25.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/1.087, allocations: 283.5 kB / 497.7 MB, free: 25.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/1.087, allocations: 175.9 kB / 497.8 MB, free: 25.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/1.087, allocations: 4 kB / 497.8 MB, free: 25.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001693/1.089, allocations: 0.5404 MB / 498.4 MB, free: 24.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.089, allocations: 11.98 kB / 498.4 MB, free: 24.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-05/1.089, allocations: 20 kB / 498.4 MB, free: 24.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/1.089, allocations: 8 kB / 498.4 MB, free: 24.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/1.09, allocations: 95.81 kB / 498.5 MB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.09, allocations: 12.09 kB / 498.5 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/1.091, allocations: 63.64 kB / 498.6 MB, free: 24.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/1.091, allocations: 27.98 kB / 498.6 MB, free: 24.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004624/1.091, allocations: 213.6 kB / 498.8 MB, free: 24.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.091, allocations: 114.7 kB / 498.9 MB, free: 24.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/1.093, allocations: 0.5034 MB / 499.4 MB, free: 23.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.093, allocations: 0 / 499.4 MB, free: 23.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.093, allocations: 0 / 499.4 MB, free: 23.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.093, allocations: 0 / 499.4 MB, free: 23.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007588/1.094, allocations: 0.5867 MB / 0.4883 GB, free: 23.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.094, allocations: 16 kB / 0.4883 GB, free: 23.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/1.095, allocations: 51.95 kB / 0.4884 GB, free: 23.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.095, allocations: 0 / 0.4884 GB, free: 23.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/1.095, allocations: 15.95 kB / 0.4884 GB, free: 23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.095, allocations: 11.98 kB / 0.4884 GB, free: 22.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.095, allocations: 4 kB / 0.4884 GB, free: 22.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/1.096, allocations: 0.5047 MB / 0.4889 GB, free: 22.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/1.097, allocations: 207.6 kB / 0.4891 GB, free: 22.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.097, allocations: 7.984 kB / 0.4891 GB, free: 22.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.098, allocations: 43.97 kB / 0.4891 GB, free: 22.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.098, allocations: 31.95 kB / 0.4892 GB, free: 22.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/1.098, allocations: 11.98 kB / 0.4892 GB, free: 22.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009463/1.099, allocations: 0.6039 MB / 0.4898 GB, free: 21.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.099, allocations: 4 kB / 0.4898 GB, free: 21.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009969/1.1, allocations: 251.7 kB / 0.49 GB, free: 21.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002837/1.103, allocations: 1.622 MB / 0.4916 GB, free: 19.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/1.104, allocations: 382.4 kB / 0.492 GB, free: 19.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.104, allocations: 0 / 0.492 GB, free: 19.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/1.105, allocations: 205.8 kB / 0.4922 GB, free: 19.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/1.106, allocations: 144.5 kB / 0.4923 GB, free: 18.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.118, allocations: 7.889 MB / 0.5 GB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/1.118, allocations: 0.9802 MB / 0.501 GB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006269/1.119, allocations: 106.4 kB / 0.5011 GB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.119, allocations: 323.3 kB / 0.5014 GB, free: 9.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/1.119, allocations: 3.938 kB / 0.5014 GB, free: 9.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06511/1.184, allocations: 22.29 MB / 0.5231 GB, free: 2.941 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/1.185, allocations: 207.1 kB / 0.5233 GB, free: 2.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.919/5.103, allocations: 0 / 0.5233 GB, free: 2.699 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat