Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007388/0.0007388, allocations: 90.02 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 47.59 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.2927, allocations: 102.3 MB / 479.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.2929, allocations: 71.97 kB / 479.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2844/0.5773, allocations: 73.71 MB / 0.5401 GB, free: 77.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5774, allocations: 0 / 0.5401 GB, free: 77.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.5774, allocations: 16 kB / 0.5401 GB, free: 77.52 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.002415/0.5798, allocations: 1.407 MB / 0.5415 GB, free: 76.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5799, allocations: 11.97 kB / 0.5415 GB, free: 76.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.58, allocations: 126.5 kB / 0.5416 GB, free: 75.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/0.581, allocations: 0.8097 MB / 0.5424 GB, free: 75.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.581, allocations: 24.48 kB / 0.5425 GB, free: 75.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.581, allocations: 23.98 kB / 0.5425 GB, free: 75.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.5818, allocations: 404.4 kB / 0.5429 GB, free: 74.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5818, allocations: 0 / 0.5429 GB, free: 74.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.5818, allocations: 8 kB / 0.5429 GB, free: 74.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.5818, allocations: 8 kB / 0.5429 GB, free: 74.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.5826, allocations: 386 kB / 0.5432 GB, free: 74.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.5842, allocations: 1.277 MB / 0.5445 GB, free: 72.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.5849, allocations: 310.6 kB / 0.5448 GB, free: 72.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.5853, allocations: 249 kB / 0.545 GB, free: 72.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007135/0.5925, allocations: 9.169 MB / 0.554 GB, free: 61.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.593, allocations: 231.2 kB / 0.5542 GB, free: 61.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.086e-06/0.593, allocations: 0 / 0.5542 GB, free: 61.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001235/0.5942, allocations: 0.5409 MB / 0.5547 GB, free: 61.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5943, allocations: 110.8 kB / 0.5548 GB, free: 60.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.5952, allocations: 0.8984 MB / 0.5557 GB, free: 60 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.5952, allocations: 37.64 kB / 0.5557 GB, free: 59.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.5955, allocations: 468.2 kB / 0.5562 GB, free: 59.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.5955, allocations: 51.34 kB / 0.5562 GB, free: 59.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.5955, allocations: 8 kB / 0.5562 GB, free: 59.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.5956, allocations: 322 kB / 0.5566 GB, free: 59.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.5959, allocations: 147.8 kB / 0.5567 GB, free: 58.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.5963, allocations: 295.6 kB / 0.557 GB, free: 58.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.5971, allocations: 437.8 kB / 0.5574 GB, free: 58.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5971, allocations: 0 / 0.5574 GB, free: 58.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009645/0.598, allocations: 0.5389 MB / 0.5579 GB, free: 57.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5981, allocations: 7.938 kB / 0.5579 GB, free: 57.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.5981, allocations: 24 kB / 0.558 GB, free: 57.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5981, allocations: 4.562 kB / 0.558 GB, free: 57.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.5985, allocations: 99.88 kB / 0.5581 GB, free: 57.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5985, allocations: 11.92 kB / 0.5581 GB, free: 57.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.5989, allocations: 67.66 kB / 0.5581 GB, free: 57.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.599, allocations: 20 kB / 0.5581 GB, free: 57.35 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.0002418/0.5992, allocations: 210.4 kB / 0.5583 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.5993, allocations: 110.6 kB / 0.5585 GB, free: 57.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.6005, allocations: 0.516 MB / 0.559 GB, free: 56.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6005, allocations: 7.938 kB / 0.559 GB, free: 56.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6005, allocations: 0 / 0.559 GB, free: 56.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6005, allocations: 0 / 0.559 GB, free: 56.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.601, allocations: 0.5712 MB / 0.5595 GB, free: 55.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.601, allocations: 23.98 kB / 0.5595 GB, free: 55.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.6013, allocations: 52.02 kB / 0.5596 GB, free: 55.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6013, allocations: 7.938 kB / 0.5596 GB, free: 55.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.6013, allocations: 16 kB / 0.5596 GB, free: 55.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6013, allocations: 0 / 0.5596 GB, free: 55.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6013, allocations: 0 / 0.5596 GB, free: 55.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.6021, allocations: 496.6 kB / 0.5601 GB, free: 55.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.6024, allocations: 199.7 kB / 0.5603 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.6025, allocations: 11.98 kB / 0.5603 GB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.6028, allocations: 35.97 kB / 0.5603 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.6029, allocations: 39.89 kB / 0.5604 GB, free: 54.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6029, allocations: 15.98 kB / 0.5604 GB, free: 54.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.6035, allocations: 0.6 MB / 0.561 GB, free: 54.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6035, allocations: 0 / 0.561 GB, free: 54.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006515/0.6041, allocations: 251.7 kB / 0.5612 GB, free: 54.09 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.0007377/0.6049, allocations: 0.5309 MB / 0.5617 GB, free: 53.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008546/0.6058, allocations: 386.4 kB / 0.5621 GB, free: 53.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6058, allocations: 7.938 kB / 0.5621 GB, free: 53.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.6062, allocations: 201.8 kB / 0.5623 GB, free: 52.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.6068, allocations: 140.5 kB / 0.5624 GB, free: 52.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.6087, allocations: 1.657 MB / 0.564 GB, free: 51.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.609, allocations: 0.9646 MB / 0.565 GB, free: 50.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.6093, allocations: 106.4 kB / 0.5651 GB, free: 50.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.6094, allocations: 51.44 kB / 0.5651 GB, free: 49.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6094, allocations: 0 / 0.5651 GB, free: 49.97 MB / 378.7 MB Notification: Performance of Templates: time 0.01836/0.6278, allocations: 13.67 MB / 0.5785 GB, free: 36.32 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches