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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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=99,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=99,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 53.31 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.1968/0.3027, allocations: 5.583 MB / 433.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01754/0.3202, allocations: 19.51 MB / 452.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007875/0.321, allocations: 24.34 kB / 452.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.3235, allocations: 0.8363 MB / 453.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005422/0.3289, allocations: 1.6 MB / 455.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.3339, allocations: 1.308 MB / 456.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.3374, allocations: 1.817 MB / 458.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.3377, allocations: 111.3 kB / 458.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.3383, allocations: 351.5 kB / 459 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.3388, allocations: 372.2 kB / 459.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.3389, allocations: 32.72 kB / 459.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.3433, allocations: 1.438 MB / 460.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.3435, allocations: 120.3 kB / 460.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.3441, allocations: 435.5 kB / 461.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.3473, allocations: 1.61 MB / 462.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3473, allocations: 0 / 462.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3473, allocations: 0 / 462.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.3473, allocations: 0 / 462.9 MB, free: 7.152 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.002444/0.3498, allocations: 1.414 MB / 464.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3498, allocations: 9.594 kB / 464.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.35, allocations: 129.3 kB / 464.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3511, allocations: 0.7959 MB / 465.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.3511, allocations: 18.23 kB / 465.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.3512, allocations: 24.39 kB / 465.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.352, allocations: 333.6 kB / 465.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3521, allocations: 1.156 kB / 465.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.3521, allocations: 10.38 kB / 465.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3521, allocations: 13.41 kB / 465.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.3531, allocations: 345.1 kB / 466 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.3551, allocations: 1.237 MB / 467.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.356, allocations: 247.8 kB / 467.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.3565, allocations: 216.5 kB / 467.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009021/0.3656, allocations: 7.917 MB / 475.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/0.3661, allocations: 202.5 kB / 475.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.225e-06/0.3661, allocations: 0 / 475.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001458/0.3676, allocations: 494.8 kB / 476.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3676, allocations: 59.22 kB / 476.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3687, allocations: 0.8889 MB / 477.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3688, allocations: 31.92 kB / 477.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.3692, allocations: 468.5 kB / 477.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.3693, allocations: 64.52 kB / 477.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3694, allocations: 90.53 kB / 477.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3696, allocations: 321.3 kB / 478.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.37, allocations: 118.6 kB / 478.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.3705, allocations: 255.3 kB / 478.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009442/0.3715, allocations: 388.1 kB / 478.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3715, allocations: 6.531 kB / 479 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001237/0.3727, allocations: 0.4999 MB / 479.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3727, allocations: 7.188 kB / 479.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.3728, allocations: 20.75 kB / 479.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3728, allocations: 11.41 kB / 479.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.3732, allocations: 93.2 kB / 479.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3732, allocations: 10.41 kB / 479.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.3737, allocations: 53.12 kB / 479.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.3737, allocations: 23.91 kB / 479.7 MB, free: 10.04 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.0003259/0.374, allocations: 211.2 kB / 479.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3742, allocations: 123.5 kB / 480 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3754, allocations: 460.6 kB / 480.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3754, allocations: 2.781 kB / 480.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3754, allocations: 0 / 480.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3754, allocations: 9.859 kB / 480.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.3762, allocations: 0.5686 MB / 481 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/0.3762, allocations: 19.97 kB / 481 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.3764, allocations: 44.89 kB / 481.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3764, allocations: 0.9375 kB / 481.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3765, allocations: 12.03 kB / 481.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3765, allocations: 4.547 kB / 481.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3765, allocations: 3.984 kB / 481.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3775, allocations: 451.6 kB / 481.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.3778, allocations: 205.4 kB / 481.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.852e-05/0.3779, allocations: 6.75 kB / 481.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.3782, allocations: 33.7 kB / 481.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.3783, allocations: 27.09 kB / 481.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.3783, allocations: 18.98 kB / 481.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.379, allocations: 0.5854 MB / 482.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.379, allocations: 0 / 482.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007236/0.3798, allocations: 220 kB / 482.6 MB, free: 8.191 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.0007691/0.3805, allocations: 480.5 kB / 483.1 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3815, allocations: 345.1 kB / 483.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3815, allocations: 4 kB / 483.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.382, allocations: 169.5 kB / 483.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.3828, allocations: 187.7 kB / 483.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.3855, allocations: 1.509 MB / 485.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.3861, allocations: 0.9563 MB / 486.3 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3862, allocations: 51.44 kB / 486.3 MB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3862, allocations: 0 / 486.3 MB, free: 4.668 MB / 382.1 MB Notification: Performance of Templates: time 0.019/0.4052, allocations: 12.49 MB / 498.8 MB, free: 8.219 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.914430880919099]