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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008382/0.0008383, allocations: 93.62 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.05e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09729, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4459, allocations: 104.9 MB / 0.495 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4462, allocations: 71.22 kB / 0.4951 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1737/0.6199, allocations: 81.61 MB / 0.5748 GB, free: 248 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.62, allocations: 0 / 0.5748 GB, free: 248 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.487e-05/0.6201, allocations: 20 kB / 0.5748 GB, free: 228 kB / 442.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.2444/0.8645, allocations: 1.205 MB / 0.576 GB, free: 87.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8645, allocations: 9.312 kB / 0.576 GB, free: 87.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.8647, allocations: 118.3 kB / 0.5761 GB, free: 87.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.8658, allocations: 0.7582 MB / 0.5769 GB, free: 87.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.8658, allocations: 16.56 kB / 0.5769 GB, free: 87.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.8659, allocations: 23.53 kB / 0.5769 GB, free: 87.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.8665, allocations: 331.5 kB / 0.5772 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8665, allocations: 2.016 kB / 0.5772 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.8665, allocations: 11.2 kB / 0.5772 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.8665, allocations: 7.859 kB / 0.5772 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.8669, allocations: 249 kB / 0.5775 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.8687, allocations: 1.264 MB / 0.5787 GB, free: 87.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.8689, allocations: 180.7 kB / 0.5789 GB, free: 87.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.8692, allocations: 184.2 kB / 0.5791 GB, free: 87.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007776/0.877, allocations: 9.408 MB / 0.5883 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.8773, allocations: 157.4 kB / 0.5884 GB, free: 80.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.755e-06/0.8773, allocations: 0 / 0.5884 GB, free: 80.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004664/0.8778, allocations: 290.3 kB / 0.5887 GB, free: 79.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.8778, allocations: 109.3 kB / 0.5888 GB, free: 79.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/0.8786, allocations: 0.7581 MB / 0.5895 GB, free: 79.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.8786, allocations: 32.89 kB / 0.5896 GB, free: 79.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.8791, allocations: 466.1 kB / 0.59 GB, free: 79.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.8792, allocations: 67.31 kB / 0.5901 GB, free: 79.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.8792, allocations: 3.312 kB / 0.5901 GB, free: 79.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.8793, allocations: 322.4 kB / 0.5904 GB, free: 79.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.8795, allocations: 68.03 kB / 0.5904 GB, free: 79.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.8798, allocations: 226.1 kB / 0.5907 GB, free: 78.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.8801, allocations: 106 kB / 0.5908 GB, free: 78.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.8801, allocations: 1.688 kB / 0.5908 GB, free: 78.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008198/0.8809, allocations: 415.5 kB / 0.5912 GB, free: 78.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.8809, allocations: 8 kB / 0.5912 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/0.881, allocations: 22.62 kB / 0.5912 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.881, allocations: 6.531 kB / 0.5912 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.8816, allocations: 97.62 kB / 0.5913 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.8816, allocations: 8.625 kB / 0.5913 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.8823, allocations: 69.47 kB / 0.5914 GB, free: 78.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.8824, allocations: 24.84 kB / 0.5914 GB, free: 78.88 MB / 442.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 () * 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.0001388/0.8826, allocations: 132.9 kB / 0.5915 GB, free: 78.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.8828, allocations: 115 kB / 0.5916 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.884, allocations: 382.2 kB / 0.592 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.8841, allocations: 0 / 0.592 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8841, allocations: 1.688 kB / 0.592 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8841, allocations: 0 / 0.592 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.8849, allocations: 0.5864 MB / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.479e-05/0.885, allocations: 20.38 kB / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.8853, allocations: 56.86 kB / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.8854, allocations: 0 / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.8854, allocations: 10.64 kB / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8854, allocations: 3.25 kB / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8854, allocations: 2.25 kB / 0.5926 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.886, allocations: 371.4 kB / 0.593 GB, free: 78.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.8864, allocations: 213.4 kB / 0.5932 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.8865, allocations: 6 kB / 0.5932 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.887, allocations: 42.17 kB / 0.5932 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.8872, allocations: 37.58 kB / 0.5933 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.8872, allocations: 13.36 kB / 0.5933 GB, free: 78.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000999/0.8882, allocations: 0.589 MB / 0.5939 GB, free: 77.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8882, allocations: 0 / 0.5939 GB, free: 77.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001068/0.8893, allocations: 248.6 kB / 0.5941 GB, free: 77.97 MB / 442.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) * 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.000985/0.8903, allocations: 0.5352 MB / 0.5946 GB, free: 77.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.8909, allocations: 254 kB / 0.5949 GB, free: 77.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.8909, allocations: 3.25 kB / 0.5949 GB, free: 77.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.8912, allocations: 126.3 kB / 0.595 GB, free: 77.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.8922, allocations: 171.5 kB / 0.5952 GB, free: 77.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.8945, allocations: 0.9687 MB / 0.5961 GB, free: 77.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.895, allocations: 0.9757 MB / 0.5971 GB, free: 76.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006466/0.8956, allocations: 104 kB / 0.5972 GB, free: 76.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.8958, allocations: 50.75 kB / 0.5972 GB, free: 76.76 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.8958, allocations: 3.312 kB / 0.5972 GB, free: 76.76 MB / 442.7 MB Notification: Performance of Templates: time 0.04037/0.9362, allocations: 14.29 MB / 0.6112 GB, free: 76.16 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches