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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 178.8 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.2 MB / 214.1 MB, free: 5.25 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.0009335/0.0009336, allocations: 113.8 kB / 262.1 MB, free: 5.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.406e-06, allocations: 0 / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09304, allocations: 47.57 MB / 362.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.3554, allocations: 101.4 MB / 463.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.3556, allocations: 76.27 kB / 464 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1393/0.4949, allocations: 70.47 MB / 0.5219 GB, free: 8.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.4949, allocations: 12 kB / 0.5219 GB, free: 8.5 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.002072/0.497, allocations: 1.23 MB / 0.5231 GB, free: 7.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4971, allocations: 8.031 kB / 0.5231 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.4972, allocations: 130.5 kB / 0.5233 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4983, allocations: 0.7599 MB / 0.524 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4983, allocations: 11.98 kB / 0.524 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.4983, allocations: 16 kB / 0.524 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004209/0.4988, allocations: 237.1 kB / 0.5243 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.4992, allocations: 299.6 kB / 0.5245 GB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4993, allocations: 0 / 0.5245 GB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.4993, allocations: 4 kB / 0.5246 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4993, allocations: 7.984 kB / 0.5246 GB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.5012, allocations: 1.229 MB / 0.5258 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.5014, allocations: 113.9 kB / 0.5259 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.5017, allocations: 180.9 kB / 0.526 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008893/0.5106, allocations: 9.229 MB / 0.5351 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.5108, allocations: 143.3 kB / 0.5352 GB, free: 9.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.5109, allocations: 0 / 0.5352 GB, free: 9.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004694/0.5113, allocations: 274.1 kB / 0.5355 GB, free: 9.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5114, allocations: 114.8 kB / 0.5356 GB, free: 9.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.5122, allocations: 0.697 MB / 0.5362 GB, free: 8.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5122, allocations: 29.7 kB / 0.5363 GB, free: 8.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.5124, allocations: 272.2 kB / 0.5365 GB, free: 7.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.5125, allocations: 55.2 kB / 0.5366 GB, free: 7.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.5125, allocations: 0 / 0.5366 GB, free: 7.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.5126, allocations: 322 kB / 0.5369 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.5127, allocations: 67.95 kB / 0.537 GB, free: 7.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.5129, allocations: 219.8 kB / 0.5372 GB, free: 7.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5131, allocations: 97.56 kB / 0.5373 GB, free: 7.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5131, allocations: 0 / 0.5373 GB, free: 7.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005552/0.5136, allocations: 373.7 kB / 0.5376 GB, free: 6.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5136, allocations: 8.031 kB / 0.5376 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/0.5137, allocations: 23.91 kB / 0.5376 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5137, allocations: 8 kB / 0.5377 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.5141, allocations: 99.88 kB / 0.5377 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.5141, allocations: 15.92 kB / 0.5378 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.5146, allocations: 63.59 kB / 0.5378 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.5146, allocations: 24 kB / 0.5378 GB, free: 6.559 MB / 394.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 0.0001001/0.5147, allocations: 124.9 kB / 0.538 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.5148, allocations: 110.6 kB / 0.5381 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.5159, allocations: 439.3 kB / 0.5385 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5159, allocations: 0 / 0.5385 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5159, allocations: 0 / 0.5385 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.516, allocations: 0 / 0.5385 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.5166, allocations: 0.5273 MB / 0.539 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/0.5166, allocations: 16 kB / 0.539 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.5169, allocations: 63.95 kB / 0.5391 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.517, allocations: 3.906 kB / 0.5391 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.517, allocations: 15.98 kB / 0.5391 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.517, allocations: 0 / 0.5391 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.517, allocations: 4 kB / 0.5391 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004203/0.5174, allocations: 344.9 kB / 0.5394 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.5177, allocations: 211.7 kB / 0.5396 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5178, allocations: 4 kB / 0.5396 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.5182, allocations: 51.95 kB / 0.5397 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.5183, allocations: 35.8 kB / 0.5397 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.5183, allocations: 12 kB / 0.5397 GB, free: 4.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00058/0.5189, allocations: 0.5336 MB / 0.5403 GB, free: 3.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000708/0.5196, allocations: 235.6 kB / 0.5405 GB, free: 3.734 MB / 394.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.0007762/0.5204, allocations: 0.6185 MB / 0.5411 GB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.5208, allocations: 242.5 kB / 0.5413 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5208, allocations: 4 kB / 0.5413 GB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.521, allocations: 129.6 kB / 0.5414 GB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.5215, allocations: 128.8 kB / 0.5416 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.5234, allocations: 0.9698 MB / 0.5425 GB, free: 1.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.5239, allocations: 1.038 MB / 0.5435 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5239, allocations: 0 / 0.5435 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of Templates: time 0.01864/0.5426, allocations: 10.87 MB / 0.5541 GB, free: 5.652 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