Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0013/0.0013, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001305/0.001305, allocations: 187 kB / 18.66 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 51.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09456, allocations: 46.61 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2019/0.2965, allocations: 5.393 MB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.3176, allocations: 18.5 MB / 399 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.3186, allocations: 28.97 kB / 399.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.3211, allocations: 0.8081 MB / 399.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006594/0.3277, allocations: 1.58 MB / 401.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.3328, allocations: 1.263 MB / 402.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004816/0.3376, allocations: 1.753 MB / 404.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.338, allocations: 171.4 kB / 404.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.3388, allocations: 329.4 kB / 404.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.3392, allocations: 358.2 kB / 405.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.3393, allocations: 33.66 kB / 405.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004684/0.344, allocations: 1.127 MB / 406.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3442, allocations: 116 kB / 406.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.3446, allocations: 432.1 kB / 407 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.348, allocations: 1.624 MB / 408.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.348, allocations: 3.938 kB / 408.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.348, allocations: 0.9062 kB / 408.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.348, allocations: 0 / 408.6 MB, free: 9.551 MB / 334.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.002801/0.3508, allocations: 1.384 MB / 410 MB, free: 8.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3509, allocations: 12.8 kB / 410 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3511, allocations: 120.9 kB / 410.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3522, allocations: 0.775 MB / 410.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3522, allocations: 18.66 kB / 410.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.3523, allocations: 34.95 kB / 411 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.3531, allocations: 331.4 kB / 411.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3531, allocations: 0 / 411.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.3531, allocations: 18.19 kB / 411.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3532, allocations: 5.594 kB / 411.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/0.3541, allocations: 341.6 kB / 411.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.3562, allocations: 1.234 MB / 412.9 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/0.357, allocations: 263.8 kB / 413.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.3576, allocations: 231.7 kB / 413.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00917/0.3668, allocations: 7.794 MB / 421.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005882/0.3674, allocations: 203.8 kB / 421.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.464e-06/0.3674, allocations: 4 kB / 421.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001453/0.3689, allocations: 495.2 kB / 421.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.369, allocations: 63.5 kB / 421.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3702, allocations: 0.883 MB / 422.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3702, allocations: 32.08 kB / 422.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.3706, allocations: 463.9 kB / 423.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.3707, allocations: 52.47 kB / 423.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3708, allocations: 82.58 kB / 423.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.371, allocations: 330.2 kB / 423.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.3714, allocations: 118.5 kB / 423.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.3719, allocations: 270.7 kB / 424.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/0.3728, allocations: 403.7 kB / 424.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3728, allocations: 0 / 424.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001189/0.374, allocations: 0.4958 MB / 425 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.374, allocations: 7.938 kB / 425 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/0.3741, allocations: 28.56 kB / 425 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.3741, allocations: 6.062 kB / 425 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.3745, allocations: 87.81 kB / 425.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.3745, allocations: 11.98 kB / 425.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.3751, allocations: 47.72 kB / 425.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.3751, allocations: 23.98 kB / 425.2 MB, free: 12.04 MB / 350.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.0003161/0.3754, allocations: 217.6 kB / 425.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3756, allocations: 114.6 kB / 425.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.3768, allocations: 463.6 kB / 426 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3769, allocations: 4 kB / 426 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3769, allocations: 0 / 426 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3769, allocations: 0 / 426 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.3775, allocations: 0.575 MB / 426.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.3776, allocations: 20 kB / 426.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.3778, allocations: 43.89 kB / 426.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3778, allocations: 3.938 kB / 426.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3779, allocations: 12 kB / 426.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3779, allocations: 0 / 426.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3779, allocations: 8.5 kB / 426.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.3788, allocations: 438.7 kB / 427.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.3791, allocations: 207.6 kB / 427.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3792, allocations: 8 kB / 427.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.3795, allocations: 25.02 kB / 427.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3796, allocations: 39.84 kB / 427.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.3797, allocations: 12 kB / 427.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006985/0.3804, allocations: 0.5961 MB / 428 MB, free: 9.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3804, allocations: 0 / 428 MB, free: 9.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008177/0.3812, allocations: 219.8 kB / 428.2 MB, free: 8.938 MB / 350.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.0008797/0.3821, allocations: 485.3 kB / 428.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.3831, allocations: 349.6 kB / 429 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3831, allocations: 4 kB / 429 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.3836, allocations: 177.5 kB / 429.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.3842, allocations: 150.6 kB / 429.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.3866, allocations: 1.451 MB / 430.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.3871, allocations: 0.9641 MB / 431.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.3874, allocations: 102.1 kB / 431.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.3875, allocations: 51.38 kB / 431.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3875, allocations: 0 / 431.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Templates: time 0.02083/0.4084, allocations: 12.87 MB / 444.8 MB, free: 8.262 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches