Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 105.8 kB / 17.59 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 191.3 kB / 18.52 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009721/0.0009721, allocations: 43.36 kB / 301.3 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.08381, allocations: 49.45 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005873/0.08971, allocations: 5.532 MB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1676/0.2573, allocations: 19.4 MB / 375.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.258, allocations: 15.58 kB / 375.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.2603, allocations: 0.8234 MB / 376.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.2653, allocations: 1.59 MB / 378.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004464/0.2698, allocations: 1.301 MB / 379.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.2728, allocations: 1.79 MB / 381.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.2732, allocations: 179.4 kB / 381.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.2737, allocations: 340.2 kB / 381.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.274, allocations: 371.4 kB / 382 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.2741, allocations: 35.41 kB / 382.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.2782, allocations: 1.432 MB / 383.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.2785, allocations: 118.2 kB / 383.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.279, allocations: 433.8 kB / 384.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.282, allocations: 1.594 MB / 385.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2821, allocations: 1.406 kB / 385.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2821, allocations: 0 / 385.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2821, allocations: 0 / 385.7 MB, free: 7.574 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.002081/0.2842, allocations: 1.387 MB / 387 MB, free: 6.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2842, allocations: 13.61 kB / 387.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.2844, allocations: 114.8 kB / 387.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.2853, allocations: 0.7844 MB / 387.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2853, allocations: 18.56 kB / 388 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.2854, allocations: 24.09 kB / 388 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.2862, allocations: 340.3 kB / 388.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2862, allocations: 5.125 kB / 388.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.2862, allocations: 10.16 kB / 388.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2862, allocations: 8.172 kB / 388.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.2871, allocations: 345.7 kB / 388.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.2889, allocations: 1.244 MB / 389.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.2897, allocations: 264 kB / 390.2 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.2902, allocations: 230.5 kB / 390.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00674/0.297, allocations: 7.76 MB / 398.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005378/0.2976, allocations: 206.5 kB / 398.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.615e-06/0.2976, allocations: 4 kB / 398.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001448/0.299, allocations: 487.1 kB / 398.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2991, allocations: 55.44 kB / 398.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3001, allocations: 0.8837 MB / 399.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.3002, allocations: 36.22 kB / 399.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.3005, allocations: 463.4 kB / 400.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.3006, allocations: 57.55 kB / 400.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3007, allocations: 80.88 kB / 400.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3008, allocations: 320.8 kB / 400.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.3012, allocations: 128.7 kB / 400.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.3017, allocations: 261.9 kB / 401.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.3025, allocations: 405.3 kB / 401.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3025, allocations: 5.688 kB / 401.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/0.3036, allocations: 0.4961 MB / 402 MB, free: 11.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3036, allocations: 4.906 kB / 402 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.3036, allocations: 22.62 kB / 402 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3037, allocations: 7.562 kB / 402 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.304, allocations: 86.69 kB / 402.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.304, allocations: 9.125 kB / 402.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.3045, allocations: 60.45 kB / 402.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.3046, allocations: 19.25 kB / 402.2 MB, free: 11.43 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.000311/0.3049, allocations: 210 kB / 402.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.305, allocations: 111.9 kB / 402.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.3063, allocations: 470.4 kB / 403 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3063, allocations: 2.938 kB / 403 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3064, allocations: 0 / 403 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3064, allocations: 0 / 403 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.3071, allocations: 0.5681 MB / 403.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.3071, allocations: 21.19 kB / 403.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3074, allocations: 43.64 kB / 403.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3074, allocations: 1.656 kB / 403.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3074, allocations: 15.89 kB / 403.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3074, allocations: 7.375 kB / 403.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3075, allocations: 0 / 403.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3085, allocations: 442.6 kB / 404.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.3088, allocations: 204 kB / 404.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3089, allocations: 2.156 kB / 404.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.3092, allocations: 35.41 kB / 404.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.3093, allocations: 29.92 kB / 404.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.3093, allocations: 15.53 kB / 404.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006381/0.31, allocations: 0.5903 MB / 404.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.31, allocations: 0 / 404.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007106/0.3107, allocations: 215.8 kB / 405.2 MB, free: 9.316 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.0006763/0.3114, allocations: 488.6 kB / 405.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009797/0.3124, allocations: 350.4 kB / 406 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3124, allocations: 4.062 kB / 406 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.3129, allocations: 185.5 kB / 406.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.3137, allocations: 179.8 kB / 406.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.316, allocations: 1.504 MB / 407.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.3165, allocations: 0.9603 MB / 408.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3166, allocations: 51.44 kB / 408.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3167, allocations: 0 / 408.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of Templates: time 0.01778/0.3344, allocations: 12.32 MB / 421.2 MB, free: 9.352 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches