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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009886/0.0009888, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008843/0.0008842, allocations: 101.1 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004521, allocations: 8 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2533, allocations: 50.38 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3657, allocations: 104.2 MB / 0.4938 GB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.3659, allocations: 75.97 kB / 0.4939 GB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3183/0.6843, allocations: 81.64 MB / 0.5736 GB, free: 39.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6843, allocations: 0 / 0.5736 GB, free: 39.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.6843, allocations: 16 kB / 0.5736 GB, free: 39.35 MB / 378.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.002689/0.687, allocations: 1.408 MB / 0.575 GB, free: 37.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6871, allocations: 12.03 kB / 0.575 GB, free: 37.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.6873, allocations: 114.6 kB / 0.5751 GB, free: 37.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.6883, allocations: 0.7651 MB / 0.5759 GB, free: 36.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.6883, allocations: 24.45 kB / 0.5759 GB, free: 36.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.6884, allocations: 27.98 kB / 0.5759 GB, free: 36.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.689, allocations: 396.4 kB / 0.5763 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6891, allocations: 0 / 0.5763 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.6891, allocations: 12 kB / 0.5763 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6891, allocations: 4 kB / 0.5763 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.6899, allocations: 382 kB / 0.5767 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.6916, allocations: 1.281 MB / 0.5779 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.6924, allocations: 317.4 kB / 0.5782 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006857/0.6992, allocations: 9.2 MB / 0.5872 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.6997, allocations: 223.1 kB / 0.5874 GB, free: 23.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.545e-06/0.6997, allocations: 0 / 0.5874 GB, free: 23.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001239/0.701, allocations: 0.617 MB / 0.588 GB, free: 23.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.7011, allocations: 110.8 kB / 0.5881 GB, free: 22.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.7023, allocations: 0.7787 MB / 0.5889 GB, free: 22.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.7024, allocations: 25.7 kB / 0.5889 GB, free: 22.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.7028, allocations: 460.3 kB / 0.5893 GB, free: 21.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.7029, allocations: 67.17 kB / 0.5894 GB, free: 21.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.7029, allocations: 12 kB / 0.5894 GB, free: 21.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.703, allocations: 322 kB / 0.5897 GB, free: 21.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.7036, allocations: 135.9 kB / 0.5899 GB, free: 21.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.7041, allocations: 295.5 kB / 0.5901 GB, free: 20.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.7045, allocations: 168.6 kB / 0.5903 GB, free: 20.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7045, allocations: 0 / 0.5903 GB, free: 20.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009434/0.7055, allocations: 0.5311 MB / 0.5908 GB, free: 20.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7055, allocations: 11.95 kB / 0.5908 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.7055, allocations: 24.55 kB / 0.5909 GB, free: 20.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7056, allocations: 12 kB / 0.5909 GB, free: 20.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.7059, allocations: 95.81 kB / 0.591 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.7059, allocations: 8 kB / 0.591 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.7063, allocations: 67.56 kB / 0.591 GB, free: 19.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.7064, allocations: 27.98 kB / 0.5911 GB, free: 19.82 MB / 378.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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.7066, allocations: 210.3 kB / 0.5913 GB, free: 19.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.7067, allocations: 110.7 kB / 0.5914 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.7079, allocations: 0.5024 MB / 0.5919 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7079, allocations: 4 kB / 0.5919 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7079, allocations: 0 / 0.5919 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7079, allocations: 0 / 0.5919 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.7084, allocations: 0.5827 MB / 0.5924 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.7084, allocations: 23.92 kB / 0.5925 GB, free: 18.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.7086, allocations: 55.95 kB / 0.5925 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7087, allocations: 4 kB / 0.5925 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.7087, allocations: 12 kB / 0.5925 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.7087, allocations: 0 / 0.5925 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7087, allocations: 0 / 0.5925 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.7095, allocations: 0.4969 MB / 0.593 GB, free: 17.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.7098, allocations: 207.7 kB / 0.5932 GB, free: 17.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.7099, allocations: 7.953 kB / 0.5932 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.7102, allocations: 43.95 kB / 0.5933 GB, free: 17.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.7103, allocations: 35.89 kB / 0.5933 GB, free: 17.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.7104, allocations: 12 kB / 0.5933 GB, free: 17.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000573/0.7109, allocations: 0.6037 MB / 0.5939 GB, free: 16.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.711, allocations: 0 / 0.5939 GB, free: 16.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000788/0.7117, allocations: 247.7 kB / 0.5941 GB, free: 16.54 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007433/0.7125, allocations: 0.5301 MB / 0.5946 GB, free: 16.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.7133, allocations: 398.2 kB / 0.595 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7134, allocations: 4.125 kB / 0.595 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.7138, allocations: 201.7 kB / 0.5952 GB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.7143, allocations: 159.1 kB / 0.5954 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.716, allocations: 1.659 MB / 0.597 GB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.7163, allocations: 0.9724 MB / 0.5979 GB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.7166, allocations: 106.4 kB / 0.598 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.7167, allocations: 51.44 kB / 0.5981 GB, free: 12.4 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7167, allocations: 4 kB / 0.5981 GB, free: 12.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01635/0.7331, allocations: 13.05 MB / 0.6108 GB, free: 15.43 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches