Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009545/0.0009544, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008092/0.0008089, allocations: 101.5 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002004/0.0002004, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2377, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3498, allocations: 104.9 MB / 0.5023 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.3501, allocations: 75.95 kB / 0.5023 GB, free: 2.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2896/0.6397, allocations: 81.07 MB / 0.5815 GB, free: 31.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6398, allocations: 4 kB / 0.5815 GB, free: 31.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.6398, allocations: 12 kB / 0.5815 GB, free: 31.12 MB / 378.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.002294/0.6421, allocations: 1.396 MB / 0.5829 GB, free: 29.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6421, allocations: 8.031 kB / 0.5829 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.6423, allocations: 123 kB / 0.583 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.6432, allocations: 0.8173 MB / 0.5838 GB, free: 28.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6432, allocations: 16.56 kB / 0.5838 GB, free: 28.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.6433, allocations: 24 kB / 0.5838 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.6439, allocations: 400.3 kB / 0.5842 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6439, allocations: 8 kB / 0.5842 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.644, allocations: 4 kB / 0.5842 GB, free: 28.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.644, allocations: 12 kB / 0.5842 GB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/0.6447, allocations: 390 kB / 0.5846 GB, free: 27.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.6463, allocations: 1.274 MB / 0.5859 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.647, allocations: 306.6 kB / 0.5862 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.6474, allocations: 256.9 kB / 0.5864 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006227/0.6537, allocations: 9.304 MB / 0.5955 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/0.6541, allocations: 229.3 kB / 0.5957 GB, free: 15.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.974e-06/0.6541, allocations: 4 kB / 0.5957 GB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001123/0.6553, allocations: 0.5353 MB / 0.5962 GB, free: 14.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6553, allocations: 114.8 kB / 0.5963 GB, free: 14.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.6561, allocations: 0.8941 MB / 0.5972 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.6562, allocations: 33.7 kB / 0.5972 GB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.6564, allocations: 468.2 kB / 0.5977 GB, free: 12.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.6565, allocations: 55.27 kB / 0.5977 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.6565, allocations: 4 kB / 0.5977 GB, free: 12.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.6566, allocations: 325.9 kB / 0.5981 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.6569, allocations: 139.9 kB / 0.5982 GB, free: 12.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.6573, allocations: 297 kB / 0.5985 GB, free: 12.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.658, allocations: 445 kB / 0.5989 GB, free: 11.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.658, allocations: 0 / 0.5989 GB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008893/0.6589, allocations: 0.535 MB / 0.5994 GB, free: 11.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6589, allocations: 8 kB / 0.5994 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.6589, allocations: 24 kB / 0.5995 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.659, allocations: 8 kB / 0.5995 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.6593, allocations: 92.41 kB / 0.5995 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6593, allocations: 11.94 kB / 0.5996 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.6597, allocations: 71.58 kB / 0.5996 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.6597, allocations: 28 kB / 0.5997 GB, free: 10.79 MB / 378.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.0002445/0.66, allocations: 213.5 kB / 0.5999 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.6601, allocations: 110.7 kB / 0.6 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.6612, allocations: 0.4947 MB / 0.6004 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6612, allocations: 4 kB / 0.6005 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6612, allocations: 4 kB / 0.6005 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6612, allocations: 0 / 0.6005 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.6617, allocations: 0.5827 MB / 0.601 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.6617, allocations: 16 kB / 0.601 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.662, allocations: 52.02 kB / 0.6011 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.662, allocations: 4 kB / 0.6011 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.662, allocations: 19.98 kB / 0.6011 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.662, allocations: 0 / 0.6011 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.662, allocations: 0 / 0.6011 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.6628, allocations: 493.1 kB / 0.6016 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.663, allocations: 203.7 kB / 0.6018 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.6631, allocations: 11.94 kB / 0.6018 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.6634, allocations: 39.95 kB / 0.6018 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.6635, allocations: 31.95 kB / 0.6019 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.6635, allocations: 12 kB / 0.6019 GB, free: 8.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005347/0.6641, allocations: 0.6037 MB / 0.6025 GB, free: 7.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6641, allocations: 3.938 kB / 0.6025 GB, free: 7.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000666/0.6648, allocations: 247.7 kB / 0.6027 GB, free: 7.555 MB / 378.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.0007004/0.6655, allocations: 0.5346 MB / 0.6032 GB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008097/0.6663, allocations: 390.4 kB / 0.6036 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6663, allocations: 4 kB / 0.6036 GB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.6667, allocations: 204.6 kB / 0.6038 GB, free: 6.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.6675, allocations: 167.8 kB / 0.6039 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.6694, allocations: 1.651 MB / 0.6056 GB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.6696, allocations: 0.9568 MB / 0.6065 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.67, allocations: 106.4 kB / 0.6066 GB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.6701, allocations: 51.44 kB / 0.6066 GB, free: 3.422 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6701, allocations: 7.938 kB / 0.6067 GB, free: 3.414 MB / 378.7 MB Notification: Performance of Templates: time 0.02021/0.6903, allocations: 13.65 MB / 0.62 GB, free: 5.836 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches