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.001189/0.001189, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 111.2 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009147/0.0009151, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1825, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004196/0.1867, allocations: 5.561 MB / 412.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.1995, allocations: 19.63 MB / 432.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.2001, allocations: 11.94 kB / 432.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.2021, allocations: 0.7583 MB / 433 MB, free: 1.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.2065, allocations: 1.294 MB / 434.3 MB, free: 472 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.21, allocations: 1.094 MB / 435.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.2127, allocations: 1.792 MB / 437.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.2129, allocations: 159.3 kB / 437.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.2133, allocations: 338.3 kB / 437.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.2136, allocations: 357.8 kB / 438 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.2137, allocations: 20 kB / 438 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.2165, allocations: 1.443 MB / 439.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2166, allocations: 107.3 kB / 439.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.2169, allocations: 413.3 kB / 440 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.2189, allocations: 1.573 MB / 441.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2189, allocations: 4 kB / 441.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2189, allocations: 0 / 441.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2189, allocations: 0 / 441.6 MB, free: 9.148 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002093/0.221, allocations: 1.378 MB / 443 MB, free: 7.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.221, allocations: 8.031 kB / 443 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2212, allocations: 126.5 kB / 443.1 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.2222, allocations: 0.7743 MB / 443.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2222, allocations: 16.56 kB / 443.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.2223, allocations: 24 kB / 443.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.223, allocations: 344.7 kB / 444.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.223, allocations: 0 / 444.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.223, allocations: 11.98 kB / 444.2 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.2231, allocations: 11.94 kB / 444.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.2239, allocations: 342 kB / 444.6 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2258, allocations: 1.241 MB / 445.8 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008106/0.2266, allocations: 262.6 kB / 446.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.2271, allocations: 231.4 kB / 446.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007519/0.2346, allocations: 7.921 MB / 454.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005464/0.2352, allocations: 214 kB / 454.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.584e-06/0.2352, allocations: 0 / 454.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001336/0.2366, allocations: 494.4 kB / 454.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2366, allocations: 55.41 kB / 455 MB, free: 10.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.2376, allocations: 0.8786 MB / 455.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.2376, allocations: 33.7 kB / 455.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.238, allocations: 464.2 kB / 456.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.238, allocations: 63.27 kB / 456.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2382, allocations: 85.5 kB / 456.5 MB, free: 8.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2383, allocations: 322 kB / 456.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.2387, allocations: 115.9 kB / 456.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.2391, allocations: 269.6 kB / 457.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.2399, allocations: 388.6 kB / 457.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2399, allocations: 0 / 457.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001017/0.241, allocations: 0.508 MB / 458.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.241, allocations: 7.938 kB / 458.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.241, allocations: 24 kB / 458.1 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.241, allocations: 7.984 kB / 458.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.2414, allocations: 87.81 kB / 458.2 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.2414, allocations: 11.98 kB / 458.2 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.2418, allocations: 63.62 kB / 458.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.2418, allocations: 20 kB / 458.3 MB, free: 6.938 MB / 330.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 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.242, allocations: 209.7 kB / 458.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.2421, allocations: 114.7 kB / 458.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.2434, allocations: 459.6 kB / 459.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2434, allocations: 3.984 kB / 459.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2434, allocations: 0 / 459.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2434, allocations: 7.938 kB / 459.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.244, allocations: 0.5671 MB / 459.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.244, allocations: 23.98 kB / 459.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.2443, allocations: 39.95 kB / 459.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2443, allocations: 0 / 459.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2443, allocations: 12 kB / 459.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2443, allocations: 4 kB / 459.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2443, allocations: 4 kB / 459.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.246, allocations: 1.317 MB / 461 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.2463, allocations: 199.6 kB / 461.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.2464, allocations: 15.98 kB / 461.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.2467, allocations: 27.97 kB / 461.3 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.2468, allocations: 31.91 kB / 461.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.2468, allocations: 15.98 kB / 461.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006001/0.2474, allocations: 0.5881 MB / 461.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2474, allocations: 0 / 461.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006445/0.2481, allocations: 223.7 kB / 462.1 MB, free: 2.938 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006224/0.2487, allocations: 491.2 kB / 462.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008987/0.2496, allocations: 338.4 kB / 462.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2496, allocations: 128 / 462.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.2501, allocations: 189.5 kB / 463.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.2508, allocations: 161.8 kB / 463.3 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.2532, allocations: 1.877 MB / 465.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.2537, allocations: 0.9644 MB / 466.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.254, allocations: 102 kB / 466.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.2541, allocations: 47.44 kB / 466.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2541, allocations: 0 / 466.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Templates: time 0.01902/0.2731, allocations: 12.48 MB / 478.7 MB, free: 2.285 MB / 346.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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