Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001317, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 59.36 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006895/0.1325, allocations: 5.558 MB / 363.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.168/0.3005, allocations: 19.43 MB / 382.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.3011, allocations: 10.41 kB / 382.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.3029, allocations: 0.8265 MB / 383.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.3072, allocations: 1.587 MB / 384.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.3113, allocations: 1.306 MB / 386.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002729/0.314, allocations: 1.81 MB / 388.1 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3143, allocations: 176.3 kB / 388.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.3148, allocations: 345.5 kB / 388.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.3152, allocations: 366 kB / 388.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.298e-05/0.3153, allocations: 36.47 kB / 389 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.32, allocations: 1.437 MB / 390.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3201, allocations: 115.2 kB / 390.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.3206, allocations: 435.3 kB / 390.9 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.3237, allocations: 1.6 MB / 392.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.3237, allocations: 0 / 392.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.3237, allocations: 5 kB / 392.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.3238, allocations: 0 / 392.5 MB, free: 3.391 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.002745/0.3265, allocations: 1.382 MB / 393.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3266, allocations: 9.781 kB / 393.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3267, allocations: 114.8 kB / 394 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3278, allocations: 0.785 MB / 394.8 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3278, allocations: 17.62 kB / 394.8 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.3279, allocations: 23.38 kB / 394.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.3286, allocations: 337.4 kB / 395.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3286, allocations: 0 / 395.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.3287, allocations: 10.22 kB / 395.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3287, allocations: 6.656 kB / 395.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.3296, allocations: 349.7 kB / 395.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.3313, allocations: 1.25 MB / 396.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.3321, allocations: 263.9 kB / 397.1 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.3325, allocations: 225.4 kB / 397.3 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008693/0.3412, allocations: 7.916 MB / 405.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005432/0.3418, allocations: 211.2 kB / 405.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.3418, allocations: 0 / 405.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001404/0.3432, allocations: 483.3 kB / 405.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.3433, allocations: 59.11 kB / 405.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3443, allocations: 0.8807 MB / 406.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3444, allocations: 36.14 kB / 406.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.3448, allocations: 464 kB / 407.3 MB, free: 7.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.3449, allocations: 68.69 kB / 407.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.345, allocations: 82.42 kB / 407.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3452, allocations: 324.9 kB / 407.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.3456, allocations: 126.5 kB / 407.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.3461, allocations: 255 kB / 408.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.3469, allocations: 394.7 kB / 408.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3469, allocations: 1.969 kB / 408.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/0.3481, allocations: 0.4956 MB / 409 MB, free: 6.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3481, allocations: 7.969 kB / 409 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/0.3481, allocations: 31 kB / 409.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3482, allocations: 8 kB / 409.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.3485, allocations: 79.88 kB / 409.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.3486, allocations: 19.86 kB / 409.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.3491, allocations: 51.66 kB / 409.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.3491, allocations: 28.06 kB / 409.2 MB, free: 6.266 MB / 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.000286/0.3494, allocations: 206.1 kB / 409.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.3496, allocations: 110.7 kB / 409.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.351, allocations: 479.3 kB / 410 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.351, allocations: 0 / 410 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.351, allocations: 0 / 410 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.351, allocations: 0 / 410 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.3517, allocations: 0.5711 MB / 410.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/0.3518, allocations: 16 kB / 410.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.352, allocations: 43.94 kB / 410.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.352, allocations: 0 / 410.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3521, allocations: 12 kB / 410.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3521, allocations: 4 kB / 410.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3521, allocations: 0 / 410.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3531, allocations: 453.1 kB / 411.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.3534, allocations: 207.6 kB / 411.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3535, allocations: 11.94 kB / 411.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.3539, allocations: 27.95 kB / 411.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.354, allocations: 31.97 kB / 411.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.354, allocations: 8 kB / 411.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.3548, allocations: 0.592 MB / 412 MB, free: 3.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3548, allocations: 4 kB / 412 MB, free: 3.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007435/0.3555, allocations: 223.8 kB / 412.2 MB, free: 3.184 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.0007575/0.3563, allocations: 477.9 kB / 412.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3574, allocations: 358.3 kB / 413 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3574, allocations: 0 / 413 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.3579, allocations: 177.5 kB / 413.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.3587, allocations: 188.5 kB / 413.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.3613, allocations: 1.461 MB / 414.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.3619, allocations: 0.9563 MB / 415.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003609/0.3623, allocations: 102 kB / 415.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3624, allocations: 51.42 kB / 416 MB, free: 15.36 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3624, allocations: 0 / 416 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Templates: time 0.02311/0.3856, allocations: 12.83 MB / 428.8 MB, free: 2.598 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches