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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 116.1 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 194.8 kB / 21.4 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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=99,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=99,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1018, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007401/0.1092, allocations: 5.563 MB / 424.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02505/0.1342, allocations: 19.48 MB / 444 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.1351, allocations: 23.81 kB / 444 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.1377, allocations: 0.834 MB / 444.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.1438, allocations: 1.604 MB / 446.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2008/0.3446, allocations: 1.292 MB / 447.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.3472, allocations: 1.806 MB / 449.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.3475, allocations: 114 kB / 449.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.348, allocations: 353.1 kB / 450 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.3484, allocations: 372.4 kB / 450.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.3484, allocations: 32 kB / 450.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.3519, allocations: 1.432 MB / 451.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.352, allocations: 120.9 kB / 451.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.3526, allocations: 425.2 kB / 452.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.3561, allocations: 1.616 MB / 454 MB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3561, allocations: 4.625 kB / 454 MB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3561, allocations: 0 / 454 MB, free: 9.062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.3562, allocations: 0 / 454 MB, free: 9.062 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.002489/0.3587, allocations: 1.41 MB / 455.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3587, allocations: 13.11 kB / 455.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.3589, allocations: 122.6 kB / 455.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.36, allocations: 0.7967 MB / 456.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.36, allocations: 16.83 kB / 456.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.3601, allocations: 23.77 kB / 456.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.3609, allocations: 336.4 kB / 456.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3609, allocations: 0 / 456.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.3609, allocations: 11.48 kB / 456.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3609, allocations: 12.25 kB / 456.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.3618, allocations: 340 kB / 457 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.3638, allocations: 1.24 MB / 458.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.3645, allocations: 249.2 kB / 458.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.365, allocations: 212.4 kB / 458.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007719/0.3727, allocations: 7.759 MB / 466.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/0.3732, allocations: 207.9 kB / 466.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.595e-06/0.3732, allocations: 0 / 466.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001338/0.3746, allocations: 488.7 kB / 467.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3746, allocations: 67.28 kB / 467.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3756, allocations: 0.8806 MB / 468.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3757, allocations: 32.75 kB / 468.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.3759, allocations: 476.1 kB / 468.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.376, allocations: 57.33 kB / 468.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3761, allocations: 87.14 kB / 468.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3763, allocations: 316.5 kB / 469.1 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.3766, allocations: 122.9 kB / 469.2 MB, free: 16.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.377, allocations: 263.8 kB / 469.4 MB, free: 16.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.3777, allocations: 390 kB / 469.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3777, allocations: 6.031 kB / 469.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001014/0.3787, allocations: 0.5025 MB / 470.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3788, allocations: 6.281 kB / 470.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/0.3788, allocations: 25.69 kB / 470.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3788, allocations: 7.5 kB / 470.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.3792, allocations: 88.17 kB / 470.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3792, allocations: 11.5 kB / 470.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.3797, allocations: 61.22 kB / 470.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.3797, allocations: 22.66 kB / 470.6 MB, free: 16.28 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.0003002/0.38, allocations: 209.9 kB / 470.8 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3801, allocations: 120.4 kB / 470.9 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3812, allocations: 470.2 kB / 471.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3812, allocations: 2.312 kB / 471.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3813, allocations: 0 / 471.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3813, allocations: 4.906 kB / 471.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.382, allocations: 0.5675 MB / 471.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/0.382, allocations: 15.38 kB / 471.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.3822, allocations: 51.28 kB / 472 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3822, allocations: 5.188 kB / 472 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3823, allocations: 8.719 kB / 472 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3823, allocations: 1.344 kB / 472 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3823, allocations: 1.219 kB / 472 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.3831, allocations: 445.8 kB / 472.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.3835, allocations: 207.9 kB / 472.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3836, allocations: 7.25 kB / 472.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.3839, allocations: 33.56 kB / 472.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.384, allocations: 30.47 kB / 472.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.3841, allocations: 11.19 kB / 472.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000731/0.3848, allocations: 0.5917 MB / 473.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3848, allocations: 0 / 473.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00076/0.3855, allocations: 222.4 kB / 473.5 MB, free: 14.99 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.0006858/0.3862, allocations: 489.4 kB / 474 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009122/0.3871, allocations: 343.1 kB / 474.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3872, allocations: 1.406 kB / 474.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.3876, allocations: 169.2 kB / 474.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.3884, allocations: 179.5 kB / 474.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.3912, allocations: 1.515 MB / 476.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.3917, allocations: 0.9561 MB / 477.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3918, allocations: 51.44 kB / 477.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3918, allocations: 0 / 477.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of Templates: time 0.0195/0.4113, allocations: 12.43 MB / 489.6 MB, free: 6.574 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,VGS.p.v,M1.D.i Variables in the result:M1.D.i,VGS.p.v,time [Calling sys.exit(0), Time elapsed: 7.936534666980151]