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.001479/0.001479, allocations: 108 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 221.7 kB / 18.93 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.1 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 59.64 kB / 307.1 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09912, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006893/0.106, allocations: 5.567 MB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1718/0.2778, allocations: 19.24 MB / 382.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.2784, allocations: 10.81 kB / 382.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.2805, allocations: 0.7623 MB / 383.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.2852, allocations: 1.361 MB / 384.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.2902, allocations: 1.146 MB / 385.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.2934, allocations: 1.829 MB / 387.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.2938, allocations: 169.4 kB / 387.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.2943, allocations: 345.4 kB / 388.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.2946, allocations: 370.4 kB / 388.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.2947, allocations: 32.62 kB / 388.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004204/0.2989, allocations: 1.454 MB / 389.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.2991, allocations: 116.3 kB / 390 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.2996, allocations: 428.2 kB / 390.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.3009, allocations: 1.15 MB / 391.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3009, allocations: 0 / 391.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3009, allocations: 4 kB / 391.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.301, allocations: 5.031 kB / 391.6 MB, free: 4.25 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.001886/0.3028, allocations: 1.382 MB / 393 MB, free: 3.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3029, allocations: 13.16 kB / 393 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.303, allocations: 118.1 kB / 393.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.3039, allocations: 0.7851 MB / 393.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3039, allocations: 15.5 kB / 393.9 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.304, allocations: 22.69 kB / 394 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.3047, allocations: 340.5 kB / 394.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3048, allocations: 0 / 394.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.3048, allocations: 7.344 kB / 394.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3048, allocations: 11.8 kB / 394.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.3056, allocations: 342.3 kB / 394.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3074, allocations: 1.251 MB / 395.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.3081, allocations: 262.5 kB / 396.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.3086, allocations: 225 kB / 396.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008462/0.3171, allocations: 7.921 MB / 404.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.3177, allocations: 215.9 kB / 404.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 3.527e-06/0.3177, allocations: 0 / 404.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001349/0.3191, allocations: 484.9 kB / 405 MB, free: 9.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3191, allocations: 64.58 kB / 405 MB, free: 9.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3202, allocations: 0.8802 MB / 405.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3202, allocations: 28.14 kB / 405.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.3206, allocations: 463.4 kB / 406.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.3207, allocations: 63.17 kB / 406.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.3208, allocations: 88.56 kB / 406.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.321, allocations: 320.8 kB / 406.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3213, allocations: 126.6 kB / 407 MB, free: 8.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.3218, allocations: 263.2 kB / 407.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.3226, allocations: 395.3 kB / 407.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3227, allocations: 1.938 kB / 407.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001086/0.3238, allocations: 0.5 MB / 408.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3238, allocations: 12.02 kB / 408.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.3238, allocations: 20.06 kB / 408.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3238, allocations: 8.156 kB / 408.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3242, allocations: 80.69 kB / 408.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3242, allocations: 12.12 kB / 408.3 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.3247, allocations: 54.28 kB / 408.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.3247, allocations: 30.98 kB / 408.3 MB, free: 7.484 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.0003003/0.325, allocations: 207.9 kB / 408.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3252, allocations: 107.6 kB / 408.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.3265, allocations: 476.8 kB / 409.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3265, allocations: 7.984 kB / 409.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3265, allocations: 0 / 409.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3266, allocations: 0 / 409.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.3274, allocations: 0.5697 MB / 409.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.3274, allocations: 20 kB / 409.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3277, allocations: 43.95 kB / 409.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3277, allocations: 0 / 409.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3277, allocations: 11.98 kB / 409.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3277, allocations: 0 / 409.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3277, allocations: 4 kB / 409.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3288, allocations: 449 kB / 410.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.3291, allocations: 195.7 kB / 410.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3292, allocations: 15.92 kB / 410.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.3295, allocations: 23.97 kB / 410.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.3296, allocations: 27.97 kB / 410.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.3297, allocations: 15.98 kB / 410.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007365/0.3304, allocations: 0.5881 MB / 411.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3304, allocations: 4 kB / 411.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007298/0.3311, allocations: 219.8 kB / 411.3 MB, free: 4.621 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.000784/0.3319, allocations: 493.3 kB / 411.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.333, allocations: 354.3 kB / 412.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.333, allocations: 0 / 412.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.3335, allocations: 185.5 kB / 412.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/0.3343, allocations: 182.9 kB / 412.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.3371, allocations: 1.742 MB / 414.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.3377, allocations: 0.9563 MB / 415.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3379, allocations: 51.44 kB / 415.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3379, allocations: 3.938 kB / 415.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of Templates: time 0.01842/0.3563, allocations: 12.36 MB / 427.6 MB, free: 4.281 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.1.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