Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 114.7 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 207.7 kB / 19.4 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 227.7 MB / 247.8 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 55.91 kB / 359.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2236, allocations: 50.56 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006646/0.2302, allocations: 5.577 MB / 415.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.022/0.2522, allocations: 19.49 MB / 435.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006602/0.2529, allocations: 23.81 kB / 435.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.255, allocations: 0.8377 MB / 436.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.2593, allocations: 1.592 MB / 437.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.2627, allocations: 1.311 MB / 439 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002854/0.2656, allocations: 1.819 MB / 440.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.2658, allocations: 105.2 kB / 440.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.2663, allocations: 354.4 kB / 441.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.2667, allocations: 361.8 kB / 441.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.2667, allocations: 32 kB / 441.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.27, allocations: 1.444 MB / 443.1 MB, free: 352 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2701, allocations: 119.2 kB / 443.2 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.2705, allocations: 433.3 kB / 443.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.2732, allocations: 1.611 MB / 445.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2732, allocations: 8 kB / 445.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2732, allocations: 0 / 445.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2732, allocations: 0 / 445.3 MB, free: 14.18 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.002244/0.2755, allocations: 1.42 MB / 446.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2755, allocations: 8.031 kB / 446.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2757, allocations: 135.1 kB / 446.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2767, allocations: 0.7831 MB / 447.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2768, allocations: 12.56 kB / 447.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.2768, allocations: 24 kB / 447.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.2776, allocations: 344.7 kB / 448 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2776, allocations: 3.984 kB / 448 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.2777, allocations: 7.984 kB / 448 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2777, allocations: 15.94 kB / 448 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.2786, allocations: 342 kB / 448.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.2806, allocations: 1.242 MB / 449.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.2814, allocations: 253.4 kB / 449.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.282, allocations: 205 kB / 450 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008703/0.2907, allocations: 7.926 MB / 458 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005699/0.2912, allocations: 199.2 kB / 458.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.2912, allocations: 4 kB / 458.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001416/0.2926, allocations: 492.5 kB / 458.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.2927, allocations: 59.39 kB / 458.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.2938, allocations: 0.8863 MB / 459.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2938, allocations: 33.64 kB / 459.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.2942, allocations: 464.8 kB / 460.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.2943, allocations: 63.5 kB / 460.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2944, allocations: 93.39 kB / 460.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2945, allocations: 322 kB / 460.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.2949, allocations: 119.8 kB / 460.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2954, allocations: 253.9 kB / 460.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.2963, allocations: 396.8 kB / 461.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2963, allocations: 0 / 461.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.2974, allocations: 0.5033 MB / 461.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2974, allocations: 8.062 kB / 461.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-05/0.2974, allocations: 28 kB / 461.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2975, allocations: 8 kB / 461.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.2978, allocations: 83.81 kB / 461.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.2978, allocations: 7.938 kB / 461.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.2982, allocations: 67.62 kB / 462 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.2982, allocations: 20 kB / 462 MB, free: 11.95 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.0002772/0.2985, allocations: 213.7 kB / 462.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2986, allocations: 111.3 kB / 462.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2999, allocations: 467.5 kB / 462.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2999, allocations: 4 kB / 462.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2999, allocations: 0 / 462.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2999, allocations: 3.938 kB / 462.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.3005, allocations: 0.5788 MB / 463.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/0.3006, allocations: 20 kB / 463.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3008, allocations: 39.95 kB / 463.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3008, allocations: 3.984 kB / 463.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3008, allocations: 12 kB / 463.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3008, allocations: 0 / 463.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3008, allocations: 4 kB / 463.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.3018, allocations: 459.2 kB / 463.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.3021, allocations: 204.3 kB / 464.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/0.3022, allocations: 7.938 kB / 464.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.3024, allocations: 23.97 kB / 464.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.3025, allocations: 31.95 kB / 464.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.3026, allocations: 16 kB / 464.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.3033, allocations: 0.592 MB / 464.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3033, allocations: 4 kB / 464.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.3039, allocations: 219.7 kB / 465 MB, free: 8.848 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.0007034/0.3046, allocations: 475 kB / 465.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009392/0.3055, allocations: 342.2 kB / 465.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3055, allocations: 0 / 465.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.306, allocations: 177.5 kB / 466 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.3068, allocations: 175.8 kB / 466.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.3091, allocations: 1.48 MB / 467.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.3097, allocations: 0.9563 MB / 468.6 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.3099, allocations: 94.02 kB / 468.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.31, allocations: 59.44 kB / 468.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.31, allocations: 0 / 468.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of Templates: time 0.02251/0.3326, allocations: 12.9 MB / 481.6 MB, free: 8.246 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches