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.001285/0.001285, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.64 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09279, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005775/0.09861, allocations: 5.551 MB / 364.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1866/0.2852, allocations: 19.43 MB / 383.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.286, allocations: 24.66 kB / 383.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.2882, allocations: 0.8273 MB / 384.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.293, allocations: 1.589 MB / 386.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004378/0.2974, allocations: 1.318 MB / 387.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.3002, allocations: 1.806 MB / 389.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.3005, allocations: 163.5 kB / 389.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.301, allocations: 359.6 kB / 390 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.3014, allocations: 363.6 kB / 390.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.3014, allocations: 32.34 kB / 390.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.3051, allocations: 1.439 MB / 391.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3053, allocations: 119.6 kB / 391.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.3056, allocations: 432.4 kB / 392.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.3077, allocations: 1.61 MB / 393.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3078, allocations: 0 / 393.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3078, allocations: 0 / 393.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3078, allocations: 0 / 393.9 MB, free: 3.184 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.001922/0.3097, allocations: 1.38 MB / 395.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3098, allocations: 10.06 kB / 395.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.3099, allocations: 115.2 kB / 395.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.3109, allocations: 0.7847 MB / 396.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3109, allocations: 17.66 kB / 396.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.311, allocations: 23.47 kB / 396.3 MB, free: 1.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.3117, allocations: 339.3 kB / 396.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3117, allocations: 0 / 396.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.3117, allocations: 8.484 kB / 396.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3118, allocations: 10.03 kB / 396.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.3126, allocations: 349.1 kB / 397 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.3143, allocations: 1.24 MB / 398.2 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.315, allocations: 263.9 kB / 398.5 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.3154, allocations: 230.4 kB / 398.7 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007767/0.3232, allocations: 7.911 MB / 406.6 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.3237, allocations: 213.5 kB / 406.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.205e-06/0.3237, allocations: 0 / 406.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.00119/0.3249, allocations: 485.6 kB / 407.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.325, allocations: 64.44 kB / 407.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/0.3258, allocations: 0.8849 MB / 408.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3259, allocations: 28.48 kB / 408.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.3262, allocations: 462.5 kB / 408.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.3262, allocations: 67.86 kB / 408.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3264, allocations: 82.48 kB / 408.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3265, allocations: 324.6 kB / 409.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.3268, allocations: 127.7 kB / 409.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.3273, allocations: 254.3 kB / 409.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.328, allocations: 404.3 kB / 409.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.328, allocations: 7.938 kB / 409.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000959/0.329, allocations: 0.4917 MB / 410.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.329, allocations: 8 kB / 410.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.329, allocations: 21.55 kB / 410.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.329, allocations: 8 kB / 410.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.3294, allocations: 88.44 kB / 410.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3294, allocations: 11.92 kB / 410.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.3298, allocations: 51.66 kB / 410.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.3298, allocations: 24.94 kB / 410.6 MB, free: 5.789 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.0002272/0.3301, allocations: 210.8 kB / 410.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3302, allocations: 110.7 kB / 411 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.3313, allocations: 487.9 kB / 411.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3313, allocations: 0 / 411.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3313, allocations: 0 / 411.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3313, allocations: 0 / 411.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.3319, allocations: 0.5632 MB / 412 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.3319, allocations: 20 kB / 412 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.3322, allocations: 52 kB / 412.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3322, allocations: 0 / 412.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.3322, allocations: 8 kB / 412.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3322, allocations: 0 / 412.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3322, allocations: 4 kB / 412.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.3331, allocations: 445.5 kB / 412.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.3334, allocations: 199.7 kB / 412.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3335, allocations: 11.94 kB / 412.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3338, allocations: 31.95 kB / 412.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.3339, allocations: 27.97 kB / 412.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.3339, allocations: 12 kB / 412.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005931/0.3345, allocations: 0.592 MB / 413.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3345, allocations: 0 / 413.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005979/0.3351, allocations: 219.8 kB / 413.6 MB, free: 2.711 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.0006049/0.3357, allocations: 483.2 kB / 414.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008397/0.3366, allocations: 362.3 kB / 414.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3366, allocations: 4.125 kB / 414.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.337, allocations: 180.1 kB / 414.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.3377, allocations: 181.5 kB / 414.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3398, allocations: 1.447 MB / 416.2 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.3403, allocations: 0.9563 MB / 417.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.3405, allocations: 98.02 kB / 417.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.3406, allocations: 47.44 kB / 417.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3406, allocations: 0 / 417.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Templates: time 0.01987/0.3605, allocations: 12.83 MB / 430.2 MB, free: 2.137 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 -s gbode -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