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.001088/0.001088, allocations: 106.2 kB / 17.06 MB, free: 6.023 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.001232/0.001232, allocations: 191 kB / 18 MB, free: 5.105 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2766, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007546/0.2842, allocations: 5.543 MB / 406.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02041/0.3046, allocations: 19.42 MB / 425.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009075/0.3056, allocations: 27.75 kB / 425.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.3078, allocations: 0.8273 MB / 426.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.3124, allocations: 1.608 MB / 428.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.3161, allocations: 1.303 MB / 429.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.3189, allocations: 1.792 MB / 431.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.3191, allocations: 177.8 kB / 431.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.3196, allocations: 362.4 kB / 431.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.32, allocations: 365.8 kB / 432.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.32, allocations: 32 kB / 432.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.3232, allocations: 1.424 MB / 433.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3234, allocations: 119.2 kB / 433.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.3237, allocations: 441.4 kB / 434.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.3259, allocations: 1.604 MB / 435.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3259, allocations: 0 / 435.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3259, allocations: 0 / 435.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3259, allocations: 0 / 435.7 MB, free: 5.691 MB / 350.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.001962/0.3279, allocations: 1.382 MB / 437.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3279, allocations: 11.89 kB / 437.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.3281, allocations: 118.5 kB / 437.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/0.329, allocations: 0.7782 MB / 438 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.329, allocations: 24.56 kB / 438 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.3291, allocations: 23.94 kB / 438.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.3298, allocations: 332.7 kB / 438.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3299, allocations: 0 / 438.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.3299, allocations: 12 kB / 438.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3299, allocations: 11.92 kB / 438.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009118/0.3308, allocations: 342 kB / 438.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.3327, allocations: 1.23 MB / 440 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.3335, allocations: 266.6 kB / 440.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.3341, allocations: 237 kB / 440.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007509/0.3416, allocations: 7.763 MB / 448.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.3422, allocations: 203.2 kB / 448.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 3.687e-06/0.3422, allocations: 0 / 448.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001356/0.3435, allocations: 492.1 kB / 448.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3436, allocations: 63.39 kB / 449 MB, free: 7.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009617/0.3446, allocations: 0.8824 MB / 449.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3446, allocations: 29.7 kB / 449.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.345, allocations: 464.3 kB / 450.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.3451, allocations: 63.17 kB / 450.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3452, allocations: 81.52 kB / 450.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3453, allocations: 326 kB / 450.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.3457, allocations: 123.9 kB / 450.9 MB, free: 5.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.3462, allocations: 257.9 kB / 451.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.347, allocations: 385.2 kB / 451.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3471, allocations: 0 / 451.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001038/0.3481, allocations: 0.4998 MB / 452 MB, free: 3.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3481, allocations: 4 kB / 452 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/0.3482, allocations: 24 kB / 452.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3482, allocations: 7.938 kB / 452.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.3486, allocations: 92.38 kB / 452.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3486, allocations: 11.98 kB / 452.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.3489, allocations: 51.59 kB / 452.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.349, allocations: 24 kB / 452.3 MB, free: 3.715 MB / 366.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.0002419/0.3492, allocations: 213.6 kB / 452.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3494, allocations: 110.7 kB / 452.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3506, allocations: 478.2 kB / 453 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3506, allocations: 0 / 453 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3506, allocations: 0 / 453 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3506, allocations: 11.88 kB / 453 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.3512, allocations: 0.5556 MB / 453.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.3513, allocations: 20 kB / 453.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.3515, allocations: 51.94 kB / 453.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3515, allocations: 0 / 453.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3516, allocations: 12 kB / 453.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3516, allocations: 4 kB / 453.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3516, allocations: 0 / 453.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.3526, allocations: 442.5 kB / 454.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.3528, allocations: 199.7 kB / 454.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3529, allocations: 8 kB / 454.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.3532, allocations: 35.95 kB / 454.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.3533, allocations: 31.91 kB / 454.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.3533, allocations: 12 kB / 454.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000626/0.354, allocations: 0.5881 MB / 455 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.354, allocations: 0 / 455 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.3545, allocations: 215.8 kB / 455.2 MB, free: 0.6367 MB / 366.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.0007129/0.3553, allocations: 479.2 kB / 455.7 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.3562, allocations: 353.6 kB / 456 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3562, allocations: 8.062 kB / 456 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.3567, allocations: 179.9 kB / 456.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.3574, allocations: 176.5 kB / 456.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3596, allocations: 1.447 MB / 457.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3601, allocations: 0.9563 MB / 458.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.3603, allocations: 98.03 kB / 458.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.3604, allocations: 47.44 kB / 458.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3604, allocations: 0 / 458.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01962/0.38, allocations: 12.81 MB / 471.7 MB, free: 112 kB / 382.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/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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches