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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 104.5 kB / 18.35 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 47.94 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09138, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006657/0.09808, allocations: 5.391 MB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.1174, allocations: 18.5 MB / 352.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.1181, allocations: 23.81 kB / 352.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.1201, allocations: 0.7948 MB / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.124, allocations: 1.565 MB / 355 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.1269, allocations: 1.264 MB / 356.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002388/0.1293, allocations: 1.757 MB / 358 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.1296, allocations: 165.2 kB / 358.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1299, allocations: 330.5 kB / 358.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1303, allocations: 361.8 kB / 358.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.1304, allocations: 32 kB / 358.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.1328, allocations: 1.124 MB / 360 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1329, allocations: 115.3 kB / 360.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.1333, allocations: 429.3 kB / 360.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.1354, allocations: 1.616 MB / 362.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1354, allocations: 0 / 362.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1354, allocations: 7.938 kB / 362.2 MB, free: 2.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1354, allocations: 0 / 362.2 MB, free: 2.156 MB / 302.1 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.002016/0.1374, allocations: 1.382 MB / 363.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1375, allocations: 15.83 kB / 363.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.1376, allocations: 118.6 kB / 363.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.1386, allocations: 0.7745 MB / 364.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1386, allocations: 20.55 kB / 364.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.1387, allocations: 31.84 kB / 364.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.1394, allocations: 340.7 kB / 364.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1395, allocations: 0 / 364.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.1395, allocations: 8 kB / 364.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1395, allocations: 7.984 kB / 364.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.1404, allocations: 346 kB / 365.2 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1422, allocations: 1.238 MB / 366.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.143, allocations: 262.6 kB / 366.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.1435, allocations: 236.9 kB / 366.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007593/0.1511, allocations: 7.779 MB / 374.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005005/0.1516, allocations: 215 kB / 374.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.1516, allocations: 0 / 374.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001269/0.1529, allocations: 488.7 kB / 375.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1529, allocations: 59.39 kB / 375.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/0.1539, allocations: 0.8828 MB / 376.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1539, allocations: 29.7 kB / 376.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.1542, allocations: 468.3 kB / 376.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.1543, allocations: 63.19 kB / 376.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1544, allocations: 89.5 kB / 377 MB, free: 2.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1545, allocations: 318 kB / 377.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.1549, allocations: 123.9 kB / 377.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.1554, allocations: 265.6 kB / 377.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000779/0.1562, allocations: 393.5 kB / 378 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1562, allocations: 0 / 378 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009953/0.1572, allocations: 0.4924 MB / 378.5 MB, free: 344 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1572, allocations: 7.938 kB / 378.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.1573, allocations: 28 kB / 378.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1573, allocations: 4 kB / 378.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.1576, allocations: 87.8 kB / 378.7 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.1577, allocations: 11.98 kB / 378.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.158, allocations: 59.84 kB / 378.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.1581, allocations: 24 kB / 378.8 MB, free: 120 kB / 318.1 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 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1199/0.278, allocations: 203.8 kB / 379 MB, free: 56.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.2782, allocations: 111.2 kB / 379.1 MB, free: 56.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.2794, allocations: 472.6 kB / 379.5 MB, free: 56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2794, allocations: 3.031 kB / 379.5 MB, free: 56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2794, allocations: 0 / 379.5 MB, free: 56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2794, allocations: 1.266 kB / 379.5 MB, free: 56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.28, allocations: 0.5668 MB / 380.1 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.28, allocations: 21.22 kB / 380.1 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.2803, allocations: 49.83 kB / 380.2 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2803, allocations: 1.531 kB / 380.2 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.2803, allocations: 11.55 kB / 380.2 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2804, allocations: 2 kB / 380.2 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2804, allocations: 1 kB / 380.2 MB, free: 55.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.2812, allocations: 456.3 kB / 380.6 MB, free: 55.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.2815, allocations: 200.5 kB / 380.8 MB, free: 55.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.2816, allocations: 7.531 kB / 380.8 MB, free: 55.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.2819, allocations: 28.17 kB / 380.9 MB, free: 55.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.2821, allocations: 31.28 kB / 380.9 MB, free: 55.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.2821, allocations: 16.28 kB / 380.9 MB, free: 55.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007964/0.2829, allocations: 0.5925 MB / 381.5 MB, free: 55.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2829, allocations: 0 / 381.5 MB, free: 55.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.2835, allocations: 221.1 kB / 381.7 MB, free: 55.43 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005926/0.2841, allocations: 489.5 kB / 382.2 MB, free: 55.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008769/0.285, allocations: 349.1 kB / 382.5 MB, free: 55.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.285, allocations: 1.5 kB / 382.5 MB, free: 55.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.2854, allocations: 182.4 kB / 382.7 MB, free: 55.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.286, allocations: 148.1 kB / 382.9 MB, free: 55.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.288, allocations: 1.458 MB / 384.3 MB, free: 54.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.2884, allocations: 0.9584 MB / 385.3 MB, free: 53.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.2887, allocations: 100.9 kB / 385.4 MB, free: 53.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.2888, allocations: 53.11 kB / 385.4 MB, free: 53.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2888, allocations: 1.156 kB / 385.4 MB, free: 53.82 MB / 318.1 MB Notification: Performance of Templates: time 0.01772/0.3066, allocations: 12.83 MB / 398.3 MB, free: 47.5 MB / 318.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches