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.001204/0.001204, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003418/0.003418, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.8436/0.8436, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.885e-05, allocations: 10.16 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.003756/0.003775, allocations: 4.882 MB / 324.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.02016, allocations: 16.6 MB / 341.2 MB, free: 284 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007988/0.02096, allocations: 39.62 kB / 341.2 MB, free: 244 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.02274, allocations: 0.7217 MB / 341.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.0265, allocations: 1.648 MB / 343.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.02862, allocations: 1.309 MB / 344.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.03023, allocations: 1.863 MB / 346.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.03041, allocations: 109.6 kB / 346.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.03105, allocations: 0.4909 MB / 347.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.03128, allocations: 255.1 kB / 347.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.03133, allocations: 36 kB / 347.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.03329, allocations: 1.163 MB / 348.8 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.03338, allocations: 115.3 kB / 348.9 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.03361, allocations: 247.2 kB / 349.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.03541, allocations: 1.686 MB / 350.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.03541, allocations: 0 / 350.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03541, allocations: 0 / 350.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.03543, allocations: 3.938 kB / 350.8 MB, free: 6.547 MB / 314.7 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.001419/0.03684, allocations: 1.325 MB / 352.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.03689, allocations: 12.03 kB / 352.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.03701, allocations: 123.2 kB / 352.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.03771, allocations: 0.7072 MB / 353 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.03773, allocations: 20.5 kB / 353 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.03777, allocations: 20 kB / 353 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.03823, allocations: 340.8 kB / 353.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.03825, allocations: 3.984 kB / 353.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.03827, allocations: 12 kB / 353.4 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.03828, allocations: 4 kB / 353.4 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.03876, allocations: 345.9 kB / 353.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.03995, allocations: 1.065 MB / 354.8 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.04042, allocations: 254.5 kB / 355 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.04069, allocations: 209.1 kB / 355.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003864/0.04455, allocations: 3.621 MB / 358.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.04486, allocations: 208.9 kB / 359.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.04487, allocations: 0 / 359.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007483/0.04562, allocations: 488.7 kB / 359.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.04565, allocations: 55.41 kB / 359.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.04628, allocations: 0.8899 MB / 360.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.0463, allocations: 25.7 kB / 360.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.04658, allocations: 464.8 kB / 361 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.04663, allocations: 75.45 kB / 361 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.04672, allocations: 81.61 kB / 361.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.04682, allocations: 317.9 kB / 361.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.04702, allocations: 127.9 kB / 361.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.04727, allocations: 261.8 kB / 361.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.04771, allocations: 400.8 kB / 362.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.04771, allocations: 4 kB / 362.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005799/0.04829, allocations: 0.4965 MB / 362.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.04831, allocations: 8 kB / 362.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.04833, allocations: 20 kB / 362.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.04835, allocations: 8 kB / 362.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.04852, allocations: 92.38 kB / 362.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.04853, allocations: 4 kB / 362.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.04871, allocations: 59.69 kB / 362.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.04874, allocations: 24 kB / 362.9 MB, free: 10 MB / 330.7 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.0001869/0.04893, allocations: 209.6 kB / 363.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.049, allocations: 111.3 kB / 363.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.04966, allocations: 479.1 kB / 363.7 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.04966, allocations: 4 kB / 363.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.04967, allocations: 0 / 363.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.04967, allocations: 0 / 363.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.05002, allocations: 483 kB / 364.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.05004, allocations: 27.98 kB / 364.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.05015, allocations: 39.95 kB / 364.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.05015, allocations: 8.062 kB / 364.2 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.05017, allocations: 11.94 kB / 364.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.05017, allocations: 4 kB / 364.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.05017, allocations: 0 / 364.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.05066, allocations: 439.2 kB / 364.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.0508, allocations: 127.2 kB / 364.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.05085, allocations: 11.98 kB / 364.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.05099, allocations: 27.91 kB / 364.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.05106, allocations: 31.95 kB / 364.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.05108, allocations: 8 kB / 364.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.05152, allocations: 0.5957 MB / 365.5 MB, free: 7.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05152, allocations: 0 / 365.5 MB, free: 7.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.05191, allocations: 227.6 kB / 365.7 MB, free: 7.113 MB / 330.7 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.0005047/0.05242, allocations: 498 kB / 366.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.05293, allocations: 345 kB / 366.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.05293, allocations: 0 / 366.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.05316, allocations: 165.5 kB / 366.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.05361, allocations: 179.6 kB / 366.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.05503, allocations: 1.466 MB / 368.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.05522, allocations: 366.3 kB / 368.7 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.0553, allocations: 52.5 kB / 368.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0553, allocations: 4 kB / 368.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of Templates: time 0.01085/0.06615, allocations: 12.86 MB / 381.6 MB, free: 7.152 MB / 346.7 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/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) [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: 5.211877891793847]