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.001596/0.001596, allocations: 115.7 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 213.9 kB / 19.4 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2334, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006149/0.2396, allocations: 5.558 MB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02146/0.2611, allocations: 19.44 MB / 434.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/0.262, allocations: 27.81 kB / 434.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.2645, allocations: 0.8222 MB / 435.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.2696, allocations: 1.578 MB / 437.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.2738, allocations: 1.307 MB / 438.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.2768, allocations: 1.816 MB / 440.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.2771, allocations: 173.2 kB / 440.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.2775, allocations: 350.4 kB / 441 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.2779, allocations: 365.8 kB / 441.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.278, allocations: 32 kB / 441.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2813, allocations: 1.444 MB / 442.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2814, allocations: 119.2 kB / 442.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.2818, allocations: 425.3 kB / 443.3 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2841, allocations: 1.612 MB / 445 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2841, allocations: 3.984 kB / 445 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2841, allocations: 0 / 445 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.2841, allocations: 0 / 445 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.001984/0.2861, allocations: 1.382 MB / 446.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2861, allocations: 12.03 kB / 446.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2863, allocations: 118.5 kB / 446.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.2872, allocations: 0.7782 MB / 447.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2872, allocations: 16.56 kB / 447.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.2873, allocations: 27.98 kB / 447.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.2881, allocations: 332.7 kB / 447.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2881, allocations: 7.938 kB / 447.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2881, allocations: 8 kB / 447.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.2881, allocations: 11.94 kB / 447.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.289, allocations: 346 kB / 448 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2909, allocations: 1.238 MB / 449.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.2917, allocations: 270.6 kB / 449.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.2922, allocations: 229 kB / 449.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007396/0.2996, allocations: 7.921 MB / 457.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.3002, allocations: 217.7 kB / 457.8 MB, free: 204 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.384e-06/0.3002, allocations: 0 / 457.8 MB, free: 204 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001403/0.3016, allocations: 476.2 kB / 458.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3017, allocations: 59.41 kB / 458.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/0.3027, allocations: 0.8863 MB / 459.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3027, allocations: 25.7 kB / 459.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.303, allocations: 464.3 kB / 459.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.3031, allocations: 67.11 kB / 459.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3032, allocations: 89.28 kB / 459.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3034, allocations: 322 kB / 460.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.3038, allocations: 119.9 kB / 460.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.3042, allocations: 261.9 kB / 460.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.305, allocations: 388.6 kB / 460.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3051, allocations: 3.938 kB / 460.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001086/0.3062, allocations: 0.4964 MB / 461.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3062, allocations: 8 kB / 461.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/0.3062, allocations: 24 kB / 461.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3063, allocations: 11.98 kB / 461.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3066, allocations: 83.88 kB / 461.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.3066, allocations: 7.938 kB / 461.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.307, allocations: 59.53 kB / 461.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.3071, allocations: 24 kB / 461.7 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.0002871/0.3074, allocations: 221.6 kB / 461.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3075, allocations: 106.7 kB / 462 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3087, allocations: 469.7 kB / 462.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3087, allocations: 0 / 462.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3087, allocations: 0 / 462.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3087, allocations: 7.922 kB / 462.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3093, allocations: 0.5633 MB / 463 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/0.3094, allocations: 23.94 kB / 463 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3096, allocations: 47.89 kB / 463.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3096, allocations: 0 / 463.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3096, allocations: 8 kB / 463.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3097, allocations: 0 / 463.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3097, allocations: 7.984 kB / 463.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.3106, allocations: 450.6 kB / 463.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.3108, allocations: 195.7 kB / 463.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3109, allocations: 11.98 kB / 463.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.3113, allocations: 27.97 kB / 463.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.3114, allocations: 31.91 kB / 463.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.3114, allocations: 15.98 kB / 463.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006159/0.312, allocations: 0.5881 MB / 464.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.312, allocations: 0 / 464.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005972/0.3126, allocations: 223.8 kB / 464.6 MB, free: 9.102 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.0006177/0.3132, allocations: 479.2 kB / 465.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000915/0.3142, allocations: 355.5 kB / 465.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3142, allocations: 0 / 465.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.3146, allocations: 185.5 kB / 465.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007508/0.3154, allocations: 171.4 kB / 465.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.3176, allocations: 1.48 MB / 467.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3181, allocations: 0.9563 MB / 468.2 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3182, allocations: 51.44 kB / 468.3 MB, free: 5.355 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3182, allocations: 0 / 468.3 MB, free: 5.355 MB / 382.1 MB Notification: Performance of Templates: time 0.01627/0.3345, allocations: 12.45 MB / 480.7 MB, free: 8.938 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/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