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.001584/0.001584, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.473/1.473, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.001059/0.001059, allocations: 90.59 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3066, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4424, allocations: 102.2 MB / 478 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.4428, allocations: 79.95 kB / 478.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3703/0.8132, allocations: 74.31 MB / 0.5394 GB, free: 77.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.8132, allocations: 0 / 0.5394 GB, free: 77.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.8133, allocations: 16 kB / 0.5395 GB, free: 77.26 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.003049/0.8163, allocations: 1.412 MB / 0.5408 GB, free: 75.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.8164, allocations: 8.031 kB / 0.5409 GB, free: 75.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.8165, allocations: 126.5 kB / 0.541 GB, free: 75.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.8176, allocations: 0.7717 MB / 0.5417 GB, free: 74.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.8176, allocations: 16.56 kB / 0.5417 GB, free: 74.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.8177, allocations: 24 kB / 0.5418 GB, free: 74.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.8184, allocations: 396.4 kB / 0.5421 GB, free: 74.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8184, allocations: 0 / 0.5421 GB, free: 74.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.8184, allocations: 15.98 kB / 0.5422 GB, free: 74.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.8184, allocations: 7.984 kB / 0.5422 GB, free: 74.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.8192, allocations: 397.9 kB / 0.5425 GB, free: 73.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.8209, allocations: 1.269 MB / 0.5438 GB, free: 72.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.8216, allocations: 310.6 kB / 0.5441 GB, free: 72.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007583/0.8292, allocations: 9.228 MB / 0.5531 GB, free: 61.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.8298, allocations: 227.7 kB / 0.5533 GB, free: 61.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.186e-06/0.8298, allocations: 0 / 0.5533 GB, free: 61.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001283/0.8311, allocations: 0.6219 MB / 0.5539 GB, free: 60.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.8311, allocations: 106.8 kB / 0.554 GB, free: 60.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.8319, allocations: 0.7751 MB / 0.5548 GB, free: 60 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.8319, allocations: 33.7 kB / 0.5548 GB, free: 59.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.8322, allocations: 464.3 kB / 0.5552 GB, free: 59.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.8323, allocations: 59.19 kB / 0.5553 GB, free: 59.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.8323, allocations: 15.94 kB / 0.5553 GB, free: 59.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.8324, allocations: 322 kB / 0.5556 GB, free: 59.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.8328, allocations: 143.8 kB / 0.5558 GB, free: 58.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.8331, allocations: 291.6 kB / 0.556 GB, free: 58.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.8335, allocations: 166.7 kB / 0.5562 GB, free: 58.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8335, allocations: 0 / 0.5562 GB, free: 58.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008878/0.8344, allocations: 0.5388 MB / 0.5567 GB, free: 57.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.8344, allocations: 8 kB / 0.5567 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.8345, allocations: 24 kB / 0.5568 GB, free: 57.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.8345, allocations: 8.562 kB / 0.5568 GB, free: 57.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.8348, allocations: 95.81 kB / 0.5569 GB, free: 57.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.8349, allocations: 11.98 kB / 0.5569 GB, free: 57.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.8352, allocations: 71.59 kB / 0.5569 GB, free: 57.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.8353, allocations: 20 kB / 0.557 GB, free: 57.68 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.000239/0.8355, allocations: 212.8 kB / 0.5572 GB, free: 57.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.8356, allocations: 110.6 kB / 0.5573 GB, free: 57.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.8368, allocations: 0.5151 MB / 0.5578 GB, free: 56.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.8368, allocations: 0 / 0.5578 GB, free: 56.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8368, allocations: 4 kB / 0.5578 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.8368, allocations: 7.938 kB / 0.5578 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.8373, allocations: 0.5788 MB / 0.5583 GB, free: 56.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.8373, allocations: 20 kB / 0.5584 GB, free: 56.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.8376, allocations: 59.95 kB / 0.5584 GB, free: 56.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8376, allocations: 0 / 0.5584 GB, free: 56.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.8376, allocations: 11.98 kB / 0.5584 GB, free: 56.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.8377, allocations: 7.938 kB / 0.5584 GB, free: 56.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8377, allocations: 0 / 0.5584 GB, free: 56.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.8385, allocations: 0.5009 MB / 0.5589 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.8387, allocations: 207.7 kB / 0.5591 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.8388, allocations: 8 kB / 0.5591 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.8392, allocations: 39.97 kB / 0.5592 GB, free: 55.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.8393, allocations: 31.95 kB / 0.5592 GB, free: 55.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.8393, allocations: 15.98 kB / 0.5592 GB, free: 55.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005262/0.8398, allocations: 0.6 MB / 0.5598 GB, free: 54.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8398, allocations: 0 / 0.5598 GB, free: 54.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007097/0.8405, allocations: 251.7 kB / 0.56 GB, free: 54.38 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.0007519/0.8413, allocations: 0.5322 MB / 0.5606 GB, free: 53.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008219/0.8421, allocations: 390.3 kB / 0.5609 GB, free: 53.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8421, allocations: 4.125 kB / 0.5609 GB, free: 53.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.8425, allocations: 205.6 kB / 0.5611 GB, free: 53.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.843, allocations: 137 kB / 0.5613 GB, free: 53.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.8449, allocations: 1.656 MB / 0.5629 GB, free: 51.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.8452, allocations: 0.9763 MB / 0.5638 GB, free: 50.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.8455, allocations: 106.4 kB / 0.5639 GB, free: 50.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.8456, allocations: 59.42 kB / 0.564 GB, free: 50.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8456, allocations: 0 / 0.564 GB, free: 50.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01749/0.8631, allocations: 13.1 MB / 0.5768 GB, free: 37.17 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/jenkins/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