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.001502/0.001502, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.84 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2444, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005557/0.25, allocations: 5.546 MB / 414.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.2687, allocations: 19.46 MB / 434.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008346/0.2696, allocations: 23.81 kB / 434.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.2719, allocations: 0.826 MB / 435.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.2768, allocations: 1.581 MB / 436.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.2807, allocations: 1.307 MB / 438 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.2835, allocations: 1.808 MB / 439.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.2838, allocations: 173.2 kB / 440 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.2843, allocations: 346.4 kB / 440.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.2847, allocations: 357.8 kB / 440.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.2848, allocations: 35.98 kB / 440.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.2885, allocations: 1.44 MB / 442.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2887, allocations: 123.2 kB / 442.2 MB, free: 468 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.2891, allocations: 437.3 kB / 442.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.2917, allocations: 1.611 MB / 444.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2917, allocations: 0 / 444.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2917, allocations: 0 / 444.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2917, allocations: 0 / 444.3 MB, free: 14.41 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.002062/0.2938, allocations: 1.424 MB / 445.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2938, allocations: 8.031 kB / 445.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.294, allocations: 135.1 kB / 445.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.2949, allocations: 0.7832 MB / 446.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.295, allocations: 16.56 kB / 446.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.295, allocations: 24 kB / 446.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.2958, allocations: 336.7 kB / 447 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2958, allocations: 0 / 447 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2958, allocations: 11.98 kB / 447 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2959, allocations: 15.92 kB / 447 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.2967, allocations: 342 kB / 447.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.2986, allocations: 1.246 MB / 448.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.2994, allocations: 262.6 kB / 448.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.2999, allocations: 229 kB / 449.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007214/0.3071, allocations: 7.926 MB / 457 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.3076, allocations: 191.2 kB / 457.2 MB, free: 200 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/0.3077, allocations: 0 / 457.2 MB, free: 200 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001328/0.309, allocations: 0.491 MB / 457.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.309, allocations: 63.39 kB / 457.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.31, allocations: 0.8824 MB / 458.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.31, allocations: 33.7 kB / 458.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.3104, allocations: 472.7 kB / 459.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.3104, allocations: 59.52 kB / 459.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3105, allocations: 89.39 kB / 459.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.3107, allocations: 318 kB / 459.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.311, allocations: 127.8 kB / 459.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.3115, allocations: 253.9 kB / 460 MB, free: 13.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.3123, allocations: 393 kB / 460.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3123, allocations: 8 kB / 460.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00106/0.3134, allocations: 0.4964 MB / 460.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3134, allocations: 8 kB / 460.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.3134, allocations: 24 kB / 460.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3135, allocations: 8.562 kB / 460.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.3138, allocations: 87.75 kB / 461 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3138, allocations: 11.98 kB / 461 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.3142, allocations: 63.64 kB / 461 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.3142, allocations: 16 kB / 461.1 MB, free: 12.15 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.0002391/0.3145, allocations: 217.6 kB / 461.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3146, allocations: 115.3 kB / 461.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3158, allocations: 471.6 kB / 461.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3158, allocations: 4 kB / 461.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3159, allocations: 4 kB / 461.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3159, allocations: 3.938 kB / 461.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.3164, allocations: 0.5633 MB / 462.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/0.3164, allocations: 16 kB / 462.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.3167, allocations: 48 kB / 462.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3167, allocations: 4 kB / 462.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3167, allocations: 12 kB / 462.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3167, allocations: 0 / 462.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3167, allocations: 3.938 kB / 462.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.3177, allocations: 457 kB / 462.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.3179, allocations: 204.3 kB / 463.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.318, allocations: 7.938 kB / 463.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.3183, allocations: 31.95 kB / 463.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.3184, allocations: 31.97 kB / 463.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.3184, allocations: 12 kB / 463.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006218/0.3191, allocations: 0.592 MB / 463.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3191, allocations: 0 / 463.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005827/0.3197, allocations: 223.6 kB / 464 MB, free: 9.047 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.000624/0.3203, allocations: 479 kB / 464.5 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000932/0.3212, allocations: 354.3 kB / 464.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3213, allocations: 4 kB / 464.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.3217, allocations: 181.5 kB / 465 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.3225, allocations: 179.1 kB / 465.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3249, allocations: 1.476 MB / 466.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.3254, allocations: 0.9563 MB / 467.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.3257, allocations: 98.02 kB / 467.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.3258, allocations: 47.44 kB / 467.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3258, allocations: 0 / 467.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of Templates: time 0.01937/0.3452, allocations: 12.86 MB / 480.6 MB, free: 8.418 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