Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 114.6 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009319/0.000932, allocations: 51.91 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2488, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005543/0.2544, allocations: 5.547 MB / 406.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.272, allocations: 19.42 MB / 425.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.2728, allocations: 27.75 kB / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.2751, allocations: 0.8105 MB / 426.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.2801, allocations: 1.604 MB / 428.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.2838, allocations: 1.291 MB / 429.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.2864, allocations: 1.792 MB / 431.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.2867, allocations: 177.8 kB / 431.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.2872, allocations: 350.4 kB / 431.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.2876, allocations: 369.8 kB / 432.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.2877, allocations: 32 kB / 432.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.2906, allocations: 1.432 MB / 433.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2907, allocations: 115.2 kB / 433.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.291, allocations: 429.4 kB / 434.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2931, allocations: 1.623 MB / 435.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2932, allocations: 0 / 435.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2932, allocations: 0 / 435.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2932, allocations: 0 / 435.7 MB, free: 5.73 MB / 350.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.001959/0.2952, allocations: 1.42 MB / 437.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2952, allocations: 15.88 kB / 437.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2953, allocations: 123.2 kB / 437.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/0.2962, allocations: 0.787 MB / 438 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2963, allocations: 12.56 kB / 438.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.2963, allocations: 35.89 kB / 438.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.2971, allocations: 332.7 kB / 438.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2971, allocations: 4 kB / 438.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.2971, allocations: 8 kB / 438.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2971, allocations: 15.92 kB / 438.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.298, allocations: 342 kB / 438.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.2997, allocations: 1.23 MB / 440 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/0.3006, allocations: 270.6 kB / 440.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.3011, allocations: 233 kB / 440.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006883/0.3079, allocations: 7.748 MB / 448.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.3085, allocations: 207.2 kB / 448.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.3085, allocations: 0 / 448.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001263/0.3097, allocations: 495.1 kB / 448.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.3098, allocations: 67.33 kB / 449 MB, free: 7.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.3106, allocations: 0.8863 MB / 449.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3107, allocations: 33.7 kB / 449.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.311, allocations: 472.7 kB / 450.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.3111, allocations: 63.52 kB / 450.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3112, allocations: 81.61 kB / 450.5 MB, free: 5.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.3113, allocations: 318 kB / 450.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.3117, allocations: 131.9 kB / 451 MB, free: 5.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.3121, allocations: 253.9 kB / 451.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.3129, allocations: 387.1 kB / 451.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3129, allocations: 4 kB / 451.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009849/0.3139, allocations: 0.5026 MB / 452.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3139, allocations: 10.28 kB / 452.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/0.314, allocations: 24 kB / 452.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.314, allocations: 4 kB / 452.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.3143, allocations: 88.31 kB / 452.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3144, allocations: 15.98 kB / 452.2 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.3147, allocations: 55.64 kB / 452.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.3147, allocations: 24 kB / 452.3 MB, free: 3.68 MB / 366.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.0002219/0.315, allocations: 209.7 kB / 452.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.3151, allocations: 119.2 kB / 452.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3162, allocations: 467.6 kB / 453.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3162, allocations: 0 / 453.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3163, allocations: 4 kB / 453.1 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3163, allocations: 3.938 kB / 453.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.3168, allocations: 0.5671 MB / 453.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/0.3168, allocations: 16 kB / 453.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3171, allocations: 55.94 kB / 453.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3171, allocations: 4 kB / 453.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3171, allocations: 4 kB / 453.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3171, allocations: 4 kB / 453.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3171, allocations: 0 / 453.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.318, allocations: 446.3 kB / 454.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3182, allocations: 204.3 kB / 454.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.3183, allocations: 15.98 kB / 454.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.3186, allocations: 35.95 kB / 454.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.3187, allocations: 31.91 kB / 454.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.3187, allocations: 8 kB / 454.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006068/0.3194, allocations: 0.592 MB / 455.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3194, allocations: 4 kB / 455.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005073/0.3199, allocations: 223.6 kB / 455.3 MB, free: 0.5781 MB / 366.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.0005631/0.3204, allocations: 471.1 kB / 455.7 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008938/0.3214, allocations: 350.5 kB / 456.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3214, allocations: 0 / 456.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.3218, allocations: 189.6 kB / 456.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.3225, allocations: 175.6 kB / 456.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3246, allocations: 1.476 MB / 457.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.325, allocations: 0.9563 MB / 458.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.3253, allocations: 102 kB / 459 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.3254, allocations: 55.44 kB / 459 MB, free: 12.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3254, allocations: 0 / 459 MB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01808/0.3434, allocations: 12.8 MB / 471.8 MB, free: 24 kB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches