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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 59.81 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006151/0.1174, allocations: 5.564 MB / 364.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1798/0.2973, allocations: 19.43 MB / 383.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.298, allocations: 24.41 kB / 383.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.3003, allocations: 0.8372 MB / 384.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.3064, allocations: 1.585 MB / 386.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005027/0.3114, allocations: 1.306 MB / 387.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.3144, allocations: 1.812 MB / 389.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.3147, allocations: 168.3 kB / 389.6 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.3152, allocations: 350.9 kB / 390 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.3156, allocations: 371.2 kB / 390.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.3156, allocations: 32.06 kB / 390.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.3202, allocations: 1.439 MB / 391.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.3204, allocations: 119.8 kB / 391.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.321, allocations: 432 kB / 392.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.3238, allocations: 1.613 MB / 393.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3238, allocations: 1.406 kB / 393.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3239, allocations: 0 / 393.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3239, allocations: 2.062 kB / 393.9 MB, free: 3.184 MB / 302.1 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.002132/0.326, allocations: 1.381 MB / 395.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3261, allocations: 8.656 kB / 395.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.3262, allocations: 116.4 kB / 395.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.3271, allocations: 0.7738 MB / 396.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3271, allocations: 18.73 kB / 396.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.3272, allocations: 23.84 kB / 396.3 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.3279, allocations: 344.2 kB / 396.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3279, allocations: 0 / 396.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.328, allocations: 10.42 kB / 396.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.328, allocations: 9.781 kB / 396.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.3288, allocations: 340.8 kB / 396.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.3305, allocations: 1.239 MB / 398.2 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.3312, allocations: 271.6 kB / 398.5 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.3317, allocations: 230.3 kB / 398.7 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007688/0.3394, allocations: 7.921 MB / 406.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/0.3399, allocations: 203.6 kB / 406.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.3399, allocations: 0 / 406.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001217/0.3411, allocations: 487.8 kB / 407.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3412, allocations: 65.8 kB / 407.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.342, allocations: 0.8822 MB / 408.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.3421, allocations: 27.89 kB / 408.2 MB, free: 7.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.3424, allocations: 461 kB / 408.7 MB, free: 7.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.3425, allocations: 68.17 kB / 408.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3426, allocations: 81.36 kB / 408.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.3427, allocations: 325.3 kB / 409.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.343, allocations: 129.9 kB / 409.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.3434, allocations: 254.9 kB / 409.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.3442, allocations: 396.9 kB / 409.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3442, allocations: 1.812 kB / 409.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009814/0.3452, allocations: 0.4987 MB / 410.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3452, allocations: 8 kB / 410.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.3452, allocations: 23.98 kB / 410.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3452, allocations: 4 kB / 410.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.3456, allocations: 92.38 kB / 410.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3456, allocations: 11.98 kB / 410.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.346, allocations: 55.59 kB / 410.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.3461, allocations: 20 kB / 410.6 MB, free: 5.781 MB / 318.1 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.0002309/0.3463, allocations: 218.7 kB / 410.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3464, allocations: 106.7 kB / 411 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.3475, allocations: 474.5 kB / 411.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3475, allocations: 0 / 411.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3475, allocations: 4 kB / 411.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3476, allocations: 0 / 411.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.3481, allocations: 0.5632 MB / 412 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/0.3481, allocations: 16 kB / 412 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.3484, allocations: 51.95 kB / 412 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.3484, allocations: 7.984 kB / 412.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3484, allocations: 7.938 kB / 412.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3484, allocations: 4 kB / 412.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3484, allocations: 0 / 412.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.3493, allocations: 450.1 kB / 412.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.3496, allocations: 203.7 kB / 412.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.3497, allocations: 7.938 kB / 412.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.35, allocations: 37.58 kB / 412.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.3501, allocations: 31.91 kB / 412.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.3501, allocations: 8 kB / 412.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.3507, allocations: 0.5959 MB / 413.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3507, allocations: 0 / 413.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006037/0.3513, allocations: 219.8 kB / 413.6 MB, free: 2.691 MB / 318.1 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.0006003/0.3519, allocations: 473.8 kB / 414.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008515/0.3528, allocations: 350.3 kB / 414.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3528, allocations: 4.125 kB / 414.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.3532, allocations: 181.5 kB / 414.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.354, allocations: 177 kB / 414.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.3562, allocations: 1.446 MB / 416.2 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3567, allocations: 0.9563 MB / 417.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.357, allocations: 98.02 kB / 417.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.357, allocations: 47.44 kB / 417.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3571, allocations: 0 / 417.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Templates: time 0.01969/0.3768, allocations: 12.83 MB / 430.1 MB, free: 2.141 MB / 334.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches