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.001397/0.001398, allocations: 119.4 kB / 18.41 MB, free: 4.637 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.001319/0.001319, allocations: 196.3 kB / 21.35 MB, free: 1.699 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.502/1.502, allocations: 222.9 MB / 247 MB, free: 4.344 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.002156/0.002156, allocations: 47.92 kB / 358.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 49.43 MB / 408.1 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006811/0.1211, allocations: 5.546 MB / 413.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.2184/0.3396, allocations: 19.4 MB / 433 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007425/0.3404, allocations: 28.44 kB / 433.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.3425, allocations: 0.8161 MB / 433.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.3475, allocations: 1.584 MB / 435.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.3528, allocations: 1.304 MB / 436.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00422/0.3571, allocations: 1.804 MB / 438.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.3575, allocations: 166.7 kB / 438.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008155/0.3584, allocations: 350.8 kB / 439.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.3588, allocations: 370.6 kB / 439.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.3589, allocations: 31.69 kB / 439.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/0.3634, allocations: 1.429 MB / 440.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3636, allocations: 120.9 kB / 441 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005222/0.3641, allocations: 432.5 kB / 441.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.3674, allocations: 1.613 MB / 443.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3675, allocations: 0 / 443.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3675, allocations: 4 kB / 443.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.3675, allocations: 0 / 443.1 MB, free: 3.047 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.002212/0.3697, allocations: 1.424 MB / 444.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3698, allocations: 13.2 kB / 444.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.3699, allocations: 121.7 kB / 444.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.3709, allocations: 0.7846 MB / 445.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3709, allocations: 18.89 kB / 445.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.371, allocations: 23.06 kB / 445.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.3718, allocations: 338.3 kB / 445.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3718, allocations: 0 / 445.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.3718, allocations: 9.938 kB / 445.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3719, allocations: 7.922 kB / 445.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009319/0.3728, allocations: 346.6 kB / 446.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.3749, allocations: 1.244 MB / 447.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/0.3758, allocations: 261.7 kB / 447.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.3763, allocations: 229.2 kB / 447.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00897/0.3853, allocations: 7.768 MB / 455.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/0.3859, allocations: 204.2 kB / 455.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.3859, allocations: 0 / 455.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001478/0.3874, allocations: 494.5 kB / 456.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3875, allocations: 64.89 kB / 456.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3886, allocations: 0.8824 MB / 457.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.3887, allocations: 35.86 kB / 457.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.389, allocations: 469 kB / 457.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.3891, allocations: 63.59 kB / 457.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3893, allocations: 81.91 kB / 457.9 MB, free: 11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3894, allocations: 323.1 kB / 458.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.3898, allocations: 117.5 kB / 458.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.3904, allocations: 265.7 kB / 458.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.3912, allocations: 398.8 kB / 459 MB, free: 10.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3913, allocations: 2.688 kB / 459 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001187/0.3924, allocations: 0.5027 MB / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3925, allocations: 6.781 kB / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/0.3925, allocations: 22.38 kB / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.3926, allocations: 5.375 kB / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.3929, allocations: 83.28 kB / 459.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3929, allocations: 11.38 kB / 459.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.3934, allocations: 61.31 kB / 459.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.3935, allocations: 21.88 kB / 459.7 MB, free: 10.1 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.000291/0.3938, allocations: 219.2 kB / 459.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3939, allocations: 113.3 kB / 460 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.3952, allocations: 463.5 kB / 460.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3952, allocations: 5.25 kB / 460.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3952, allocations: 4.625 kB / 460.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3952, allocations: 1.344 kB / 460.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.3959, allocations: 0.5747 MB / 461 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/0.3959, allocations: 16.41 kB / 461.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3962, allocations: 43.55 kB / 461.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3962, allocations: 6.281 kB / 461.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3962, allocations: 14.33 kB / 461.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3962, allocations: 1 kB / 461.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3963, allocations: 1.062 kB / 461.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.3972, allocations: 451.7 kB / 461.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.3975, allocations: 200.9 kB / 461.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.3976, allocations: 8.5 kB / 461.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.3979, allocations: 25.23 kB / 461.8 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.398, allocations: 42.36 kB / 461.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.3981, allocations: 19.09 kB / 461.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006176/0.3987, allocations: 0.5899 MB / 462.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3987, allocations: 0 / 462.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000732/0.3994, allocations: 223.9 kB / 462.7 MB, free: 8.746 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.000705/0.4001, allocations: 486.9 kB / 463.1 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4012, allocations: 347.5 kB / 463.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4012, allocations: 0 / 463.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.4017, allocations: 186.7 kB / 463.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.4026, allocations: 165.8 kB / 463.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.4053, allocations: 1.519 MB / 465.3 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.4058, allocations: 0.9566 MB / 466.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.406, allocations: 50.28 kB / 466.3 MB, free: 6.73 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.406, allocations: 0 / 466.3 MB, free: 6.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01956/0.4256, allocations: 12.4 MB / 478.7 MB, free: 12.15 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.934093147981912]