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.0008935/0.0008936, allocations: 101.7 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009862/0.0009862, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002195, allocations: 8 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09227, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004201/0.09651, allocations: 4.496 MB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1873/0.2838, allocations: 16.43 MB / 379 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.2846, allocations: 9.281 kB / 379 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.2869, allocations: 0.7641 MB / 379.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.2913, allocations: 1.356 MB / 381.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.296, allocations: 1.083 MB / 382.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.2992, allocations: 1.68 MB / 383.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.2995, allocations: 151.9 kB / 384 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.2999, allocations: 301.4 kB / 384.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.3003, allocations: 336.3 kB / 384.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.3004, allocations: 17.56 kB / 384.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.3049, allocations: 1.408 MB / 386.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.305, allocations: 95.52 kB / 386.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.3052, allocations: 209.5 kB / 386.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.3068, allocations: 1.075 MB / 387.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3068, allocations: 0 / 387.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3068, allocations: 1.531 kB / 387.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3068, allocations: 0 / 387.5 MB, free: 7.941 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.002041/0.3089, allocations: 1.264 MB / 388.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3089, allocations: 8.594 kB / 388.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.309, allocations: 120.1 kB / 388.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3101, allocations: 0.7253 MB / 389.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.3102, allocations: 18.08 kB / 389.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.3102, allocations: 30.66 kB / 389.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.311, allocations: 355 kB / 390 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3111, allocations: 5.5 kB / 390 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.3111, allocations: 10.62 kB / 390 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.3111, allocations: 6.219 kB / 390 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.312, allocations: 391.2 kB / 390.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.314, allocations: 1.246 MB / 391.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.3149, allocations: 311.4 kB / 391.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007257/0.3222, allocations: 7.95 MB / 399.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005694/0.3228, allocations: 229.5 kB / 400.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.314e-06/0.3228, allocations: 0 / 400.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001494/0.3243, allocations: 0.6221 MB / 400.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3243, allocations: 58.78 kB / 400.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.3253, allocations: 0.8706 MB / 401.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3254, allocations: 32.23 kB / 401.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.3257, allocations: 462.2 kB / 402.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.3258, allocations: 63.52 kB / 402.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.3258, allocations: 4 kB / 402.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3259, allocations: 326.9 kB / 402.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.3263, allocations: 139 kB / 402.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.3268, allocations: 280.3 kB / 402.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.3272, allocations: 170.4 kB / 403.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3272, allocations: 6.828 kB / 403.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001028/0.3282, allocations: 0.5322 MB / 403.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3283, allocations: 7.938 kB / 403.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.3283, allocations: 19.5 kB / 403.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3283, allocations: 8.156 kB / 403.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.3287, allocations: 103.5 kB / 403.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3287, allocations: 9.219 kB / 403.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.3292, allocations: 71.34 kB / 403.8 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.3292, allocations: 25 kB / 403.9 MB, free: 12 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 ($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.00029/0.3295, allocations: 210.2 kB / 404.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3296, allocations: 108.6 kB / 404.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.331, allocations: 0.4969 MB / 404.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.331, allocations: 10.86 kB / 404.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.331, allocations: 0 / 404.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.331, allocations: 0 / 404.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.3317, allocations: 0.5685 MB / 405.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/0.3318, allocations: 21 kB / 405.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.332, allocations: 57.05 kB / 405.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.332, allocations: 2.562 kB / 405.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.3321, allocations: 17.84 kB / 405.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3321, allocations: 2.562 kB / 405.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3321, allocations: 0 / 405.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.333, allocations: 0.5015 MB / 405.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.3333, allocations: 196.7 kB / 406 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3334, allocations: 6.406 kB / 406 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.3338, allocations: 34.48 kB / 406.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.3339, allocations: 35.45 kB / 406.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3339, allocations: 19.53 kB / 406.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006591/0.3346, allocations: 0.5788 MB / 406.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3346, allocations: 0 / 406.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007031/0.3353, allocations: 216.8 kB / 406.9 MB, free: 9.988 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 (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.0006876/0.336, allocations: 479.8 kB / 407.4 MB, free: 9.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009762/0.337, allocations: 389.3 kB / 407.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.337, allocations: 128 / 407.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.3374, allocations: 209.6 kB / 408 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.3381, allocations: 163.1 kB / 408.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.3405, allocations: 1.653 MB / 409.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.341, allocations: 0.9722 MB / 410.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.3414, allocations: 105.9 kB / 410.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.3415, allocations: 51.44 kB / 410.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3415, allocations: 0 / 410.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of Templates: time 0.01939/0.3609, allocations: 11.69 MB / 422.6 MB, free: 10.3 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 -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/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