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.001047/0.001047, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 100.8 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.463e-05, allocations: 4 kB / 343.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 51.48 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4459, allocations: 104.2 MB / 499.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.4462, allocations: 74.78 kB / 499.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1569/0.6031, allocations: 77.51 MB / 0.5635 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6032, allocations: 0 / 0.5635 GB, free: 12.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.498e-05/0.6032, allocations: 20 kB / 0.5635 GB, free: 12.28 MB / 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.002939/0.6062, allocations: 1.214 MB / 0.5647 GB, free: 11.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6062, allocations: 12.03 kB / 0.5647 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.6065, allocations: 114.6 kB / 0.5648 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.6078, allocations: 0.752 MB / 0.5655 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.6078, allocations: 8 kB / 0.5655 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.6079, allocations: 16 kB / 0.5655 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004409/0.6084, allocations: 233.1 kB / 0.5658 GB, free: 9.844 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.6088, allocations: 304.7 kB / 0.5661 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6089, allocations: 0 / 0.5661 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.6089, allocations: 7.922 kB / 0.5661 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6089, allocations: 10.91 kB / 0.5661 GB, free: 9.516 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.611, allocations: 1.212 MB / 0.5673 GB, free: 8.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.6114, allocations: 166.8 kB / 0.5674 GB, free: 8.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.6116, allocations: 179.1 kB / 0.5676 GB, free: 7.895 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2527/0.8644, allocations: 9.397 MB / 0.5768 GB, free: 86.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.8647, allocations: 153 kB / 0.5769 GB, free: 86.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 3.216e-06/0.8647, allocations: 0.5156 kB / 0.5769 GB, free: 86.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004555/0.8651, allocations: 280.7 kB / 0.5772 GB, free: 86.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.8652, allocations: 114.5 kB / 0.5773 GB, free: 85.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.866, allocations: 0.6976 MB / 0.578 GB, free: 85.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.866, allocations: 29.64 kB / 0.578 GB, free: 85.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.8663, allocations: 470.4 kB / 0.5784 GB, free: 85.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.8663, allocations: 51.52 kB / 0.5785 GB, free: 85.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.8664, allocations: 1.281 kB / 0.5785 GB, free: 85.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.8664, allocations: 323.6 kB / 0.5788 GB, free: 85.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.8665, allocations: 66.53 kB / 0.5789 GB, free: 85.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.8667, allocations: 212.1 kB / 0.5791 GB, free: 85.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.8668, allocations: 96.92 kB / 0.5792 GB, free: 85.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.8669, allocations: 2.188 kB / 0.5792 GB, free: 85.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004423/0.8673, allocations: 372.6 kB / 0.5795 GB, free: 85.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8673, allocations: 6.594 kB / 0.5795 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.8674, allocations: 31.59 kB / 0.5796 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8674, allocations: 6.625 kB / 0.5796 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.8677, allocations: 95.34 kB / 0.5797 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8677, allocations: 9.406 kB / 0.5797 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.8682, allocations: 62.08 kB / 0.5797 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.8682, allocations: 21.5 kB / 0.5797 GB, free: 85.07 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 8.562e-05/0.8683, allocations: 130.1 kB / 0.5799 GB, free: 84.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.8684, allocations: 107.3 kB / 0.58 GB, free: 84.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.8691, allocations: 373.4 kB / 0.5803 GB, free: 84.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8691, allocations: 5.875 kB / 0.5803 GB, free: 84.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8691, allocations: 2.562 kB / 0.5803 GB, free: 84.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8691, allocations: 0 / 0.5803 GB, free: 84.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.8696, allocations: 0.5323 MB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.8697, allocations: 24.25 kB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.8699, allocations: 53.81 kB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8699, allocations: 2.25 kB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.87, allocations: 10.16 kB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.87, allocations: 7.297 kB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.87, allocations: 1.125 kB / 0.5809 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.8703, allocations: 366.1 kB / 0.5813 GB, free: 84.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.8705, allocations: 206.3 kB / 0.5815 GB, free: 84.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8706, allocations: 3.469 kB / 0.5815 GB, free: 84.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.8709, allocations: 37.77 kB / 0.5815 GB, free: 84.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.871, allocations: 36.38 kB / 0.5816 GB, free: 84.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.8711, allocations: 9.562 kB / 0.5816 GB, free: 84.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004693/0.8715, allocations: 0.5364 MB / 0.5821 GB, free: 84.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8715, allocations: 3.828 kB / 0.5821 GB, free: 84.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006377/0.8722, allocations: 232.3 kB / 0.5823 GB, free: 84.2 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.0007058/0.8729, allocations: 0.6236 MB / 0.5829 GB, free: 84.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.8732, allocations: 232.6 kB / 0.5832 GB, free: 84.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8733, allocations: 5.844 kB / 0.5832 GB, free: 84.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.8734, allocations: 126 kB / 0.5833 GB, free: 84.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.8741, allocations: 168.8 kB / 0.5834 GB, free: 84.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.8755, allocations: 0.9452 MB / 0.5844 GB, free: 83.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.8758, allocations: 0.9755 MB / 0.5853 GB, free: 83.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.8761, allocations: 110.5 kB / 0.5854 GB, free: 83.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.8762, allocations: 48.25 kB / 0.5855 GB, free: 83.02 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8762, allocations: 3.5 kB / 0.5855 GB, free: 83.02 MB / 442.7 MB Notification: Performance of Templates: time 0.01585/0.8921, allocations: 10.41 MB / 0.5956 GB, free: 82.57 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