Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.528/1.528, allocations: 227.7 MB / 246.6 MB, free: 10.6 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 71.03 kB / 306.6 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09159, allocations: 50.53 MB / 357.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006547/0.09817, allocations: 5.566 MB / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.2554, allocations: 19.62 MB / 382.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.256, allocations: 15.22 kB / 382.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.258, allocations: 0.7667 MB / 383.1 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.262, allocations: 1.304 MB / 384.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.2657, allocations: 1.092 MB / 385.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.2685, allocations: 1.767 MB / 387.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2688, allocations: 158.6 kB / 387.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.2692, allocations: 344.2 kB / 387.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.2695, allocations: 355.2 kB / 388.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.2696, allocations: 21.69 kB / 388.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.2733, allocations: 1.436 MB / 389.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.2734, allocations: 102.6 kB / 389.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.2737, allocations: 421.1 kB / 390 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.2759, allocations: 1.574 MB / 391.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2759, allocations: 0 / 391.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2759, allocations: 0 / 391.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2759, allocations: 0 / 391.6 MB, free: 3.949 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.001877/0.2778, allocations: 1.384 MB / 393 MB, free: 2.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2778, allocations: 14.06 kB / 393 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.278, allocations: 114.7 kB / 393.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.2789, allocations: 0.7873 MB / 393.9 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2789, allocations: 13.16 kB / 393.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.2789, allocations: 30.75 kB / 393.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.2797, allocations: 338.8 kB / 394.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2797, allocations: 4 kB / 394.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.2797, allocations: 6.406 kB / 394.3 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2798, allocations: 9.625 kB / 394.3 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.2807, allocations: 339.3 kB / 394.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2823, allocations: 1.244 MB / 395.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.2831, allocations: 268.5 kB / 396.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.2836, allocations: 227.2 kB / 396.3 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008097/0.2917, allocations: 7.916 MB / 404.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.2923, allocations: 206.3 kB / 404.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.2923, allocations: 0 / 404.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001347/0.2936, allocations: 491.5 kB / 404.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2937, allocations: 66 kB / 405 MB, free: 9.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.2947, allocations: 0.8817 MB / 405.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.2947, allocations: 25.7 kB / 405.9 MB, free: 8.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.2952, allocations: 469.7 kB / 406.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.2952, allocations: 61.45 kB / 406.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2954, allocations: 84.66 kB / 406.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2955, allocations: 323 kB / 406.8 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.2959, allocations: 130.1 kB / 407 MB, free: 8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.2964, allocations: 262.9 kB / 407.2 MB, free: 7.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.2972, allocations: 384.1 kB / 407.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2973, allocations: 7.188 kB / 407.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/0.2983, allocations: 0.4969 MB / 408.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2984, allocations: 12.05 kB / 408.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/0.2984, allocations: 21.38 kB / 408.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2984, allocations: 7.062 kB / 408.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2988, allocations: 92.47 kB / 408.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2988, allocations: 4.594 kB / 408.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.2992, allocations: 50.03 kB / 408.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.2993, allocations: 28.55 kB / 408.3 MB, free: 7.133 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 (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.0002786/0.2996, allocations: 213.2 kB / 408.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.2997, allocations: 114.6 kB / 408.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.3011, allocations: 471.4 kB / 409.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3011, allocations: 7.984 kB / 409.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3011, allocations: 0 / 409.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3011, allocations: 0 / 409.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.3018, allocations: 0.5632 MB / 409.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/0.3018, allocations: 16 kB / 409.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3021, allocations: 55.95 kB / 409.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3021, allocations: 0 / 409.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3021, allocations: 11.98 kB / 409.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3022, allocations: 0 / 409.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3022, allocations: 0 / 409.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3032, allocations: 443.7 kB / 410.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.3035, allocations: 195.7 kB / 410.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3036, allocations: 15.92 kB / 410.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.3039, allocations: 27.97 kB / 410.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.304, allocations: 39.77 kB / 410.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3041, allocations: 12 kB / 410.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007345/0.3048, allocations: 0.592 MB / 411.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3048, allocations: 0 / 411.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006683/0.3055, allocations: 215.8 kB / 411.3 MB, free: 4.066 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 (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.0007366/0.3062, allocations: 486.6 kB / 411.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.3072, allocations: 350.3 kB / 412.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3072, allocations: 3.938 kB / 412.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.3077, allocations: 185.7 kB / 412.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007947/0.3085, allocations: 163.8 kB / 412.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.3112, allocations: 1.713 MB / 414.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.3118, allocations: 0.9566 MB / 415.1 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.3122, allocations: 98.02 kB / 415.2 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3123, allocations: 47.44 kB / 415.2 MB, free: 12 kB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3123, allocations: 0 / 415.2 MB, free: 12 kB / 318.1 MB Notification: Performance of Templates: time 0.02239/0.3347, allocations: 12.3 MB / 427.5 MB, free: 3.836 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches