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.00116/0.00116, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 205.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.59 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08894, allocations: 50.53 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006218/0.0952, allocations: 5.563 MB / 363.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/0.2585, allocations: 19.24 MB / 382.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.2591, allocations: 10.66 kB / 382.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.2612, allocations: 0.7708 MB / 383.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.2657, allocations: 1.368 MB / 384.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.2703, allocations: 1.143 MB / 385.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00292/0.2733, allocations: 1.824 MB / 387.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.2735, allocations: 167.4 kB / 387.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.274, allocations: 354.1 kB / 388.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.2744, allocations: 363.3 kB / 388.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.2745, allocations: 32.38 kB / 388.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.2785, allocations: 1.452 MB / 389.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2787, allocations: 124.3 kB / 390 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.2791, allocations: 428.4 kB / 390.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2805, allocations: 1.15 MB / 391.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2805, allocations: 0.7031 kB / 391.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2805, allocations: 0 / 391.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2805, allocations: 0 / 391.6 MB, free: 4.316 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.001863/0.2824, allocations: 1.382 MB / 393 MB, free: 3.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2824, allocations: 9.125 kB / 393 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2826, allocations: 122 kB / 393.1 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/0.2835, allocations: 0.7852 MB / 393.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2835, allocations: 17.69 kB / 393.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.2836, allocations: 24.78 kB / 393.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.2843, allocations: 333 kB / 394.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2843, allocations: 4.812 kB / 394.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.2844, allocations: 9.781 kB / 394.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2844, allocations: 10.16 kB / 394.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.2852, allocations: 341.2 kB / 394.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.287, allocations: 1.251 MB / 395.9 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.2878, allocations: 262.8 kB / 396.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.2883, allocations: 229 kB / 396.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007609/0.2959, allocations: 7.916 MB / 404.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.2965, allocations: 210.5 kB / 404.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.2965, allocations: 0 / 404.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001269/0.2978, allocations: 489.4 kB / 404.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2978, allocations: 60.38 kB / 405 MB, free: 9.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.2988, allocations: 0.8835 MB / 405.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2989, allocations: 32.05 kB / 405.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.2992, allocations: 459.7 kB / 406.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.2993, allocations: 68.36 kB / 406.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.2994, allocations: 87.53 kB / 406.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2995, allocations: 320.6 kB / 406.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.2999, allocations: 131.2 kB / 407 MB, free: 8.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.3003, allocations: 251.8 kB / 407.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.3011, allocations: 396.5 kB / 407.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3011, allocations: 0 / 407.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001006/0.3021, allocations: 0.4997 MB / 408.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3022, allocations: 6.719 kB / 408.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.3022, allocations: 20.56 kB / 408.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3022, allocations: 7 kB / 408.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.3026, allocations: 92.02 kB / 408.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3026, allocations: 9.844 kB / 408.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.3031, allocations: 59.16 kB / 408.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.3031, allocations: 21.97 kB / 408.3 MB, free: 7.551 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.0002545/0.3034, allocations: 218.8 kB / 408.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3035, allocations: 113.8 kB / 408.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3048, allocations: 467.5 kB / 409.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3048, allocations: 8 kB / 409.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3048, allocations: 0 / 409.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3048, allocations: 0 / 409.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.3055, allocations: 0.5671 MB / 409.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/0.3056, allocations: 19.98 kB / 409.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3058, allocations: 46.39 kB / 409.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3058, allocations: 4.062 kB / 409.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.3058, allocations: 12 kB / 409.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3059, allocations: 0 / 409.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3059, allocations: 3.938 kB / 409.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.3068, allocations: 442.6 kB / 410.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.307, allocations: 199.7 kB / 410.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3072, allocations: 11.94 kB / 410.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.3075, allocations: 23.95 kB / 410.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3076, allocations: 35.97 kB / 410.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.3077, allocations: 12 kB / 410.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006329/0.3083, allocations: 0.592 MB / 411 MB, free: 4.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3083, allocations: 0 / 411 MB, free: 4.898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000702/0.309, allocations: 219.8 kB / 411.3 MB, free: 4.684 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.0006853/0.3097, allocations: 493.7 kB / 411.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009293/0.3106, allocations: 356.6 kB / 412.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3107, allocations: 0 / 412.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.3111, allocations: 181.7 kB / 412.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.3119, allocations: 186.6 kB / 412.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.3144, allocations: 1.746 MB / 414.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3149, allocations: 0.9563 MB / 415.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.315, allocations: 51.44 kB / 415.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.315, allocations: 0 / 415.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Templates: time 0.01704/0.3321, allocations: 12.36 MB / 427.6 MB, free: 4.344 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches