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.001043/0.001043, allocations: 107.7 kB / 17.06 MB, free: 6.023 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.0009695/0.0009695, allocations: 191 kB / 18 MB, free: 5.105 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009533/0.0009533, allocations: 35.94 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.253, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006092/0.2591, allocations: 5.548 MB / 406.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.2781, allocations: 19.42 MB / 425.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.279, allocations: 27.75 kB / 425.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.2813, allocations: 0.8234 MB / 426.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.2857, allocations: 1.604 MB / 428.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.2892, allocations: 1.311 MB / 429.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.292, allocations: 1.796 MB / 431.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.2923, allocations: 173.8 kB / 431.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.2928, allocations: 358.4 kB / 431.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.2932, allocations: 361.8 kB / 432.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.2933, allocations: 32 kB / 432.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.2965, allocations: 1.432 MB / 433.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2966, allocations: 123.2 kB / 433.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.297, allocations: 429.4 kB / 434.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.2993, allocations: 1.608 MB / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2993, allocations: 0 / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2993, allocations: 0 / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2993, allocations: 4 kB / 435.7 MB, free: 5.695 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.001945/0.3013, allocations: 1.374 MB / 437.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3013, allocations: 11.89 kB / 437.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3015, allocations: 118.5 kB / 437.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009094/0.3024, allocations: 0.7859 MB / 438 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3024, allocations: 16.56 kB / 438 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3025, allocations: 27.98 kB / 438.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.3032, allocations: 328.7 kB / 438.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3032, allocations: 4 kB / 438.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.3032, allocations: 8 kB / 438.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3033, allocations: 19.92 kB / 438.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.3041, allocations: 338 kB / 438.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.306, allocations: 1.237 MB / 440 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.3068, allocations: 262.6 kB / 440.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.3073, allocations: 233 kB / 440.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00731/0.3146, allocations: 7.759 MB / 448.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.3151, allocations: 203.1 kB / 448.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.3151, allocations: 0 / 448.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001287/0.3164, allocations: 488.2 kB / 448.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3165, allocations: 59.41 kB / 449 MB, free: 7.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/0.3174, allocations: 0.8862 MB / 449.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3174, allocations: 37.69 kB / 449.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.3177, allocations: 460.3 kB / 450.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.3178, allocations: 59.19 kB / 450.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3179, allocations: 89.5 kB / 450.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.318, allocations: 318 kB / 450.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3184, allocations: 135.8 kB / 450.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.3188, allocations: 249.9 kB / 451.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.3196, allocations: 394.9 kB / 451.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3196, allocations: 8 kB / 451.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009706/0.3206, allocations: 0.4903 MB / 452 MB, free: 3.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3206, allocations: 8 kB / 452.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.3207, allocations: 24 kB / 452.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3207, allocations: 4.562 kB / 452.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.321, allocations: 83.88 kB / 452.2 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.321, allocations: 11.94 kB / 452.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.3214, allocations: 63.58 kB / 452.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.3214, allocations: 20 kB / 452.3 MB, free: 3.719 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.0002266/0.3217, allocations: 205.7 kB / 452.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.3218, allocations: 110.7 kB / 452.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3229, allocations: 481.9 kB / 453 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3229, allocations: 4 kB / 453 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3229, allocations: 0 / 453 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3229, allocations: 7.938 kB / 453 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.3235, allocations: 0.5594 MB / 453.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.3235, allocations: 16 kB / 453.6 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.3237, allocations: 44.02 kB / 453.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3237, allocations: 4 kB / 453.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3238, allocations: 15.98 kB / 453.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3238, allocations: 0 / 453.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3238, allocations: 0 / 453.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.3247, allocations: 446.5 kB / 454.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.3249, allocations: 203.7 kB / 454.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.325, allocations: 4 kB / 454.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3253, allocations: 27.97 kB / 454.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.3254, allocations: 35.95 kB / 454.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3254, allocations: 8 kB / 454.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.326, allocations: 0.592 MB / 455 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.326, allocations: 0 / 455 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005605/0.3266, allocations: 215.8 kB / 455.2 MB, free: 0.6484 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.0005974/0.3272, allocations: 487.1 kB / 455.7 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00089/0.3281, allocations: 350.5 kB / 456 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3281, allocations: 0 / 456 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.3286, allocations: 189.4 kB / 456.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.3293, allocations: 175 kB / 456.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3315, allocations: 1.443 MB / 457.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.3319, allocations: 0.9564 MB / 458.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.3322, allocations: 102 kB / 458.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.3323, allocations: 51.38 kB / 458.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3323, allocations: 0 / 458.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01958/0.3519, allocations: 12.8 MB / 471.7 MB, free: 132 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