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.001302/0.001302, allocations: 176.6 kB / 17.4 MB, free: 4.422 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.421/1.421, allocations: 223.3 MB / 241.4 MB, free: 9.969 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.0007412/0.0007411, allocations: 97.17 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002782, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1959, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.307, allocations: 104.2 MB / 0.4951 GB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3073, allocations: 71.97 kB / 0.4952 GB, free: 7.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3004/0.6077, allocations: 81.04 MB / 0.5743 GB, free: 39.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6078, allocations: 0 / 0.5743 GB, free: 39.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.6078, allocations: 16 kB / 0.5743 GB, free: 39.7 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.002239/0.61, allocations: 1.39 MB / 0.5757 GB, free: 38.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.6101, allocations: 12.03 kB / 0.5757 GB, free: 38.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.6103, allocations: 118.6 kB / 0.5758 GB, free: 38.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.6112, allocations: 0.8212 MB / 0.5766 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.6112, allocations: 16.56 kB / 0.5766 GB, free: 37.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.6113, allocations: 24 kB / 0.5766 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.612, allocations: 404.4 kB / 0.577 GB, free: 36.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.612, allocations: 0 / 0.577 GB, free: 36.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.612, allocations: 7.984 kB / 0.577 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.6121, allocations: 12 kB / 0.577 GB, free: 36.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007946/0.6129, allocations: 393.9 kB / 0.5774 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.6146, allocations: 1.257 MB / 0.5786 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.6153, allocations: 310.6 kB / 0.5789 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.6157, allocations: 256.8 kB / 0.5792 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006642/0.6224, allocations: 9.139 MB / 0.5881 GB, free: 24.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.6228, allocations: 231.7 kB / 0.5883 GB, free: 23.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.6229, allocations: 0 / 0.5883 GB, free: 23.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001171/0.624, allocations: 0.5418 MB / 0.5889 GB, free: 23.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.6241, allocations: 106.8 kB / 0.589 GB, free: 23.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.625, allocations: 0.898 MB / 0.5898 GB, free: 22.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.625, allocations: 33.7 kB / 0.5899 GB, free: 22.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.6253, allocations: 464.2 kB / 0.5903 GB, free: 21.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.6253, allocations: 67.17 kB / 0.5904 GB, free: 21.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.6253, allocations: 4 kB / 0.5904 GB, free: 21.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.6254, allocations: 325.9 kB / 0.5907 GB, free: 21.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.6257, allocations: 139.9 kB / 0.5908 GB, free: 21.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.6261, allocations: 291.6 kB / 0.5911 GB, free: 20.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.6268, allocations: 436.5 kB / 0.5915 GB, free: 20.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6268, allocations: 0 / 0.5915 GB, free: 20.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009063/0.6277, allocations: 0.535 MB / 0.592 GB, free: 19.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6277, allocations: 10.81 kB / 0.5921 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.6278, allocations: 20 kB / 0.5921 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6278, allocations: 8 kB / 0.5921 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.6281, allocations: 96.44 kB / 0.5922 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6282, allocations: 11.94 kB / 0.5922 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.6286, allocations: 67.7 kB / 0.5922 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.6286, allocations: 20 kB / 0.5923 GB, free: 19.59 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.0002345/0.6289, allocations: 210.3 kB / 0.5925 GB, free: 19.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.629, allocations: 114.6 kB / 0.5926 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.6301, allocations: 0.4995 MB / 0.5931 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.6301, allocations: 4 kB / 0.5931 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6301, allocations: 4 kB / 0.5931 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6301, allocations: 0 / 0.5931 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.6307, allocations: 0.5904 MB / 0.5936 GB, free: 18.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.6307, allocations: 19.94 kB / 0.5937 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.6309, allocations: 52.02 kB / 0.5937 GB, free: 18.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6309, allocations: 4 kB / 0.5937 GB, free: 18.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.631, allocations: 19.92 kB / 0.5937 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.631, allocations: 3.984 kB / 0.5937 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.631, allocations: 0 / 0.5937 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.6318, allocations: 491.6 kB / 0.5942 GB, free: 17.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.632, allocations: 199.7 kB / 0.5944 GB, free: 17.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6321, allocations: 11.94 kB / 0.5944 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.6325, allocations: 39.95 kB / 0.5944 GB, free: 17.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.6326, allocations: 35.95 kB / 0.5945 GB, free: 17.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.6326, allocations: 12 kB / 0.5945 GB, free: 17.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005788/0.6332, allocations: 0.5998 MB / 0.5951 GB, free: 16.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6332, allocations: 0 / 0.5951 GB, free: 16.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006682/0.6339, allocations: 247.7 kB / 0.5953 GB, free: 16.34 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.0008302/0.6347, allocations: 0.5228 MB / 0.5958 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.6355, allocations: 390.3 kB / 0.5962 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6355, allocations: 0 / 0.5962 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.6359, allocations: 201.8 kB / 0.5964 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.6368, allocations: 169.5 kB / 0.5966 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.6388, allocations: 1.658 MB / 0.5982 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.6391, allocations: 0.9568 MB / 0.5991 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.6395, allocations: 106.4 kB / 0.5992 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.6396, allocations: 51.44 kB / 0.5993 GB, free: 12.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6396, allocations: 0 / 0.5993 GB, free: 12.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01952/0.6591, allocations: 13.62 MB / 0.6126 GB, free: 14.69 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/jenkins1/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