Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009489/0.0009488, allocations: 203.5 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 245.3 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007104/0.0007104, allocations: 100.4 kB / 297.4 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1932, allocations: 51.29 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.3009, allocations: 104.9 MB / 0.5016 GB, free: 2.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.3011, allocations: 72.81 kB / 0.5016 GB, free: 2.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.291/0.5922, allocations: 81.08 MB / 0.5808 GB, free: 31.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5922, allocations: 0 / 0.5808 GB, free: 31.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.5923, allocations: 16 kB / 0.5808 GB, free: 31.2 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.002455/0.5947, allocations: 1.4 MB / 0.5822 GB, free: 29.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5948, allocations: 8.031 kB / 0.5822 GB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.5949, allocations: 119 kB / 0.5823 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.5959, allocations: 0.8251 MB / 0.5831 GB, free: 28.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.5959, allocations: 16.56 kB / 0.5831 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.596, allocations: 20 kB / 0.5832 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.5967, allocations: 400.4 kB / 0.5835 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5967, allocations: 0 / 0.5835 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.5968, allocations: 12 kB / 0.5835 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5968, allocations: 8 kB / 0.5836 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.5976, allocations: 382 kB / 0.5839 GB, free: 27.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.5992, allocations: 1.281 MB / 0.5852 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.6, allocations: 305 kB / 0.5855 GB, free: 26.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.6004, allocations: 252.9 kB / 0.5857 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006741/0.6072, allocations: 9.315 MB / 0.5948 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.6077, allocations: 227.1 kB / 0.595 GB, free: 15.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.906e-06/0.6077, allocations: 0 / 0.595 GB, free: 15.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001216/0.6089, allocations: 0.5314 MB / 0.5955 GB, free: 14.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.609, allocations: 114.8 kB / 0.5956 GB, free: 14.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.6098, allocations: 0.8942 MB / 0.5965 GB, free: 13.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.6099, allocations: 33.7 kB / 0.5965 GB, free: 13.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.6101, allocations: 464.3 kB / 0.597 GB, free: 13.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.6102, allocations: 59.19 kB / 0.597 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.6102, allocations: 8 kB / 0.5971 GB, free: 12.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.6102, allocations: 321.9 kB / 0.5974 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.6106, allocations: 147.8 kB / 0.5975 GB, free: 12.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.6111, allocations: 291.4 kB / 0.5978 GB, free: 12.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.6119, allocations: 440.8 kB / 0.5982 GB, free: 11.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6119, allocations: 4 kB / 0.5982 GB, free: 11.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00108/0.613, allocations: 0.5392 MB / 0.5987 GB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.613, allocations: 8 kB / 0.5987 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.6131, allocations: 20 kB / 0.5988 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6131, allocations: 8 kB / 0.5988 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.6135, allocations: 96.09 kB / 0.5989 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.6135, allocations: 11.88 kB / 0.5989 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.614, allocations: 71.58 kB / 0.5989 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.6141, allocations: 20 kB / 0.599 GB, free: 10.87 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.0002831/0.6144, allocations: 222.6 kB / 0.5992 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.6145, allocations: 106.7 kB / 0.5993 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.6158, allocations: 0.5064 MB / 0.5998 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.6159, allocations: 0 / 0.5998 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6159, allocations: 0 / 0.5998 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6159, allocations: 4 kB / 0.5998 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.6164, allocations: 0.5749 MB / 0.6003 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/0.6165, allocations: 16 kB / 0.6003 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.6168, allocations: 55.95 kB / 0.6004 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6168, allocations: 0 / 0.6004 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.6168, allocations: 16.05 kB / 0.6004 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6168, allocations: 0 / 0.6004 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6168, allocations: 4 kB / 0.6004 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.6178, allocations: 488.9 kB / 0.6009 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.618, allocations: 211.7 kB / 0.6011 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6182, allocations: 7.938 kB / 0.6011 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.6185, allocations: 39.95 kB / 0.6011 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.6186, allocations: 31.95 kB / 0.6012 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.6187, allocations: 16 kB / 0.6012 GB, free: 8.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005299/0.6192, allocations: 0.5959 MB / 0.6018 GB, free: 7.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6192, allocations: 3.938 kB / 0.6018 GB, free: 7.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006497/0.6199, allocations: 251.8 kB / 0.602 GB, free: 7.629 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.0006284/0.6205, allocations: 0.5295 MB / 0.6025 GB, free: 7.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.6213, allocations: 386.4 kB / 0.6029 GB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6213, allocations: 3.938 kB / 0.6029 GB, free: 6.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.6217, allocations: 201.8 kB / 0.6031 GB, free: 6.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.6225, allocations: 176.6 kB / 0.6033 GB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.6243, allocations: 1.695 MB / 0.6049 GB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.6245, allocations: 0.9606 MB / 0.6058 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.6246, allocations: 51.44 kB / 0.6059 GB, free: 3.555 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6247, allocations: 0 / 0.6059 GB, free: 3.555 MB / 378.7 MB Notification: Performance of Templates: time 0.01569/0.6403, allocations: 12.79 MB / 0.6184 GB, free: 6.801 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches