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.001624/0.001624, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001996/0.001996, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2403, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005462/0.2457, allocations: 5.554 MB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.2639, allocations: 19.45 MB / 434.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008564/0.2648, allocations: 27.81 kB / 434.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.2669, allocations: 0.8182 MB / 435.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.2709, allocations: 1.586 MB / 436.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.2741, allocations: 1.303 MB / 438 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.2765, allocations: 1.812 MB / 439.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.2768, allocations: 173.2 kB / 440 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.2772, allocations: 350.4 kB / 440.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.2776, allocations: 365.8 kB / 440.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.2777, allocations: 32 kB / 440.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.2804, allocations: 1.44 MB / 442.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.2805, allocations: 123.2 kB / 442.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.2808, allocations: 433.4 kB / 442.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.283, allocations: 1.608 MB / 444.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.283, allocations: 0 / 444.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.283, allocations: 0 / 444.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.283, allocations: 3.938 kB / 444.3 MB, free: 14.38 MB / 366.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.002032/0.285, allocations: 1.382 MB / 445.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2851, allocations: 12.03 kB / 445.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.2853, allocations: 122.5 kB / 445.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009345/0.2862, allocations: 0.7665 MB / 446.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.2862, allocations: 24.55 kB / 446.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.2863, allocations: 20 kB / 446.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.2871, allocations: 340.7 kB / 446.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2871, allocations: 3.938 kB / 446.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2871, allocations: 8 kB / 447 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2872, allocations: 15.92 kB / 447 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.2881, allocations: 342 kB / 447.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.29, allocations: 1.238 MB / 448.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.2909, allocations: 264.9 kB / 448.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.2914, allocations: 232.9 kB / 449 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007725/0.2991, allocations: 7.921 MB / 456.9 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005189/0.2996, allocations: 207.3 kB / 457.1 MB, free: 220 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/0.2997, allocations: 0 / 457.1 MB, free: 220 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001368/0.301, allocations: 488 kB / 457.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3011, allocations: 55.41 kB / 457.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009734/0.3021, allocations: 0.8863 MB / 458.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3021, allocations: 29.7 kB / 458.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.3025, allocations: 468.3 kB / 459.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.3026, allocations: 55.2 kB / 459.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3027, allocations: 101.3 kB / 459.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3028, allocations: 314 kB / 459.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.3032, allocations: 127.8 kB / 459.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.3037, allocations: 253.9 kB / 459.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/0.3045, allocations: 389 kB / 460.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3045, allocations: 7.984 kB / 460.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001032/0.3056, allocations: 0.4964 MB / 460.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3056, allocations: 8 kB / 460.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.3056, allocations: 28.03 kB / 460.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3057, allocations: 8 kB / 460.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.306, allocations: 83.81 kB / 460.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.306, allocations: 7.938 kB / 460.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.3064, allocations: 63.58 kB / 461 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.3065, allocations: 24 kB / 461 MB, free: 12.19 MB / 382.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.0002394/0.3067, allocations: 217.5 kB / 461.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3068, allocations: 106.7 kB / 461.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.308, allocations: 466.3 kB / 461.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3081, allocations: 4 kB / 461.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3081, allocations: 3.984 kB / 461.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3081, allocations: 3.938 kB / 461.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.3086, allocations: 0.571 MB / 462.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.3087, allocations: 19.94 kB / 462.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.3089, allocations: 39.95 kB / 462.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3089, allocations: 4 kB / 462.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.309, allocations: 15.98 kB / 462.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.309, allocations: 3.938 kB / 462.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.309, allocations: 0 / 462.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.3099, allocations: 450.2 kB / 462.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.3102, allocations: 199.7 kB / 463.1 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3103, allocations: 8 kB / 463.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3106, allocations: 23.91 kB / 463.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.3107, allocations: 31.97 kB / 463.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.3107, allocations: 15.98 kB / 463.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006172/0.3113, allocations: 0.592 MB / 463.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3113, allocations: 4 kB / 463.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.3119, allocations: 219.8 kB / 463.9 MB, free: 9.105 MB / 382.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.0006262/0.3125, allocations: 475.3 kB / 464.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009462/0.3135, allocations: 350.3 kB / 464.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3135, allocations: 4 kB / 464.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.314, allocations: 177.5 kB / 464.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.3148, allocations: 172.6 kB / 465.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3169, allocations: 1.447 MB / 466.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3174, allocations: 0.9525 MB / 467.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.3177, allocations: 106 kB / 467.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.3178, allocations: 51.44 kB / 467.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3178, allocations: 0 / 467.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of Templates: time 0.0195/0.3373, allocations: 12.87 MB / 480.5 MB, free: 8.508 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches