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.001266/0.001266, allocations: 177.3 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008313, allocations: 86.22 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.522e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08585, allocations: 47.58 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4301, allocations: 101.7 MB / 464.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.4303, allocations: 82.44 kB / 464.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1426/0.5729, allocations: 70.09 MB / 0.5224 GB, free: 9.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.573, allocations: 0 / 0.5224 GB, free: 9.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.573, allocations: 16 kB / 0.5224 GB, free: 9.43 MB / 410.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.002491/0.5755, allocations: 1.207 MB / 0.5236 GB, free: 8.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5755, allocations: 16.03 kB / 0.5236 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.5757, allocations: 118.5 kB / 0.5237 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5767, allocations: 0.7599 MB / 0.5244 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5768, allocations: 8 kB / 0.5244 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.5768, allocations: 23.98 kB / 0.5245 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003976/0.5772, allocations: 229.1 kB / 0.5247 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.5777, allocations: 303.3 kB / 0.525 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5777, allocations: 4 kB / 0.525 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.5778, allocations: 4 kB / 0.525 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.5778, allocations: 8 kB / 0.525 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.5797, allocations: 1.209 MB / 0.5262 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.5801, allocations: 162.8 kB / 0.5263 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.5804, allocations: 189 kB / 0.5265 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2388/0.8193, allocations: 9.253 MB / 0.5355 GB, free: 97.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.8196, allocations: 149.1 kB / 0.5357 GB, free: 97.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.355e-06/0.8196, allocations: 0 / 0.5357 GB, free: 97.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005244/0.8201, allocations: 290.7 kB / 0.536 GB, free: 97.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.8202, allocations: 109.4 kB / 0.5361 GB, free: 97.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/0.8211, allocations: 0.7033 MB / 0.5368 GB, free: 97.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.8212, allocations: 31.06 kB / 0.5368 GB, free: 97.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.8215, allocations: 464.9 kB / 0.5372 GB, free: 97.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.8216, allocations: 59.08 kB / 0.5373 GB, free: 97.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.8216, allocations: 2.906 kB / 0.5373 GB, free: 97.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.8217, allocations: 321.6 kB / 0.5376 GB, free: 96.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.8218, allocations: 69.58 kB / 0.5377 GB, free: 96.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.822, allocations: 212.2 kB / 0.5379 GB, free: 96.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.8222, allocations: 94.95 kB / 0.538 GB, free: 96.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.8222, allocations: 8.328 kB / 0.538 GB, free: 96.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005201/0.8227, allocations: 365.9 kB / 0.5383 GB, free: 96.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8228, allocations: 7.219 kB / 0.5383 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/0.8228, allocations: 24.53 kB / 0.5383 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.8228, allocations: 7.875 kB / 0.5384 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.8232, allocations: 96.2 kB / 0.5384 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8232, allocations: 10.77 kB / 0.5385 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.8237, allocations: 67.97 kB / 0.5385 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.8237, allocations: 23.14 kB / 0.5385 GB, free: 96.68 MB / 410.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 9.179e-05/0.8238, allocations: 124.9 kB / 0.5387 GB, free: 96.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.8239, allocations: 110.2 kB / 0.5388 GB, free: 96.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.8247, allocations: 373.1 kB / 0.5391 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8247, allocations: 2.875 kB / 0.5391 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8247, allocations: 0 / 0.5391 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.8248, allocations: 1.172 kB / 0.5391 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.8254, allocations: 0.5366 MB / 0.5396 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/0.8254, allocations: 20.11 kB / 0.5397 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.8257, allocations: 51.78 kB / 0.5397 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.8257, allocations: 2.375 kB / 0.5397 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.8257, allocations: 8.359 kB / 0.5397 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.8257, allocations: 8.578 kB / 0.5397 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8257, allocations: 4.25 kB / 0.5397 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.8262, allocations: 363 kB / 0.5401 GB, free: 96.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.8264, allocations: 206.9 kB / 0.5403 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.8265, allocations: 7.469 kB / 0.5403 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.8269, allocations: 37.64 kB / 0.5403 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.827, allocations: 37.62 kB / 0.5404 GB, free: 95.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.827, allocations: 12.12 kB / 0.5404 GB, free: 95.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006381/0.8277, allocations: 0.5347 MB / 0.5409 GB, free: 95.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8277, allocations: 0 / 0.5409 GB, free: 95.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007978/0.8285, allocations: 232.5 kB / 0.5411 GB, free: 95.82 MB / 410.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.0009777/0.8295, allocations: 0.6248 MB / 0.5417 GB, free: 95.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.8299, allocations: 237.5 kB / 0.542 GB, free: 95.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8299, allocations: 5.25 kB / 0.542 GB, free: 95.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.8301, allocations: 127.8 kB / 0.5421 GB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.8306, allocations: 141.3 kB / 0.5422 GB, free: 95.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.8322, allocations: 0.9544 MB / 0.5431 GB, free: 95.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.8327, allocations: 0.9778 MB / 0.5441 GB, free: 94.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.8331, allocations: 106 kB / 0.5442 GB, free: 94.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.8332, allocations: 60.14 kB / 0.5443 GB, free: 94.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8332, allocations: 0 / 0.5443 GB, free: 94.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01924/0.8525, allocations: 10.39 MB / 0.5544 GB, free: 94 MB / 410.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