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.0009927/0.0009925, allocations: 91.14 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 196.7 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.008725/0.1402, allocations: 5.15 MB / 364.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1823/0.3226, allocations: 19.33 MB / 383.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.3231, allocations: 14.59 kB / 383.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.3252, allocations: 0.7847 MB / 384.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.3296, allocations: 1.306 MB / 385.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.334, allocations: 1.085 MB / 386.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.3368, allocations: 1.769 MB / 388.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.3371, allocations: 151.6 kB / 388.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.3375, allocations: 336.3 kB / 389.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.3378, allocations: 348.1 kB / 389.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.3379, allocations: 18.47 kB / 389.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.3414, allocations: 1.435 MB / 391 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.3415, allocations: 98.5 kB / 391.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.3418, allocations: 440.9 kB / 391.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.3439, allocations: 1.55 MB / 393 MB, free: 4.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.344, allocations: 0 / 393 MB, free: 4.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.344, allocations: 0 / 393 MB, free: 4.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.344, allocations: 3.938 kB / 393.1 MB, free: 4.715 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.00184/0.3458, allocations: 1.262 MB / 394.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3459, allocations: 9.438 kB / 394.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.346, allocations: 115.3 kB / 394.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.3469, allocations: 0.788 MB / 395.2 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3469, allocations: 13.19 kB / 395.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.347, allocations: 25.89 kB / 395.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.3477, allocations: 365.6 kB / 395.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3478, allocations: 5.094 kB / 395.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.3478, allocations: 8.719 kB / 395.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3478, allocations: 9.312 kB / 395.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.3488, allocations: 385.2 kB / 396 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3504, allocations: 1.252 MB / 397.3 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.3513, allocations: 314 kB / 397.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.3518, allocations: 252.7 kB / 397.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007244/0.3591, allocations: 7.914 MB / 405.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/0.3597, allocations: 236 kB / 406 MB, free: 10.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.845e-06/0.3597, allocations: 0 / 406 MB, free: 10.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001508/0.3612, allocations: 0.5455 MB / 406.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3613, allocations: 57.16 kB / 406.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/0.3622, allocations: 0.8788 MB / 407.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3623, allocations: 28.58 kB / 407.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.3626, allocations: 466.6 kB / 407.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.3627, allocations: 64.84 kB / 408 MB, free: 9.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.3628, allocations: 36.05 kB / 408 MB, free: 9.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3629, allocations: 324.9 kB / 408.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.3633, allocations: 145.5 kB / 408.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.3638, allocations: 286.2 kB / 408.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.3648, allocations: 427.4 kB / 409.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3648, allocations: 1.469 kB / 409.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00121/0.366, allocations: 0.5422 MB / 409.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3661, allocations: 11.98 kB / 409.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/0.3661, allocations: 20 kB / 409.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3661, allocations: 8 kB / 409.8 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.3665, allocations: 100.4 kB / 409.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3665, allocations: 10.03 kB / 409.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.367, allocations: 67.56 kB / 409.9 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.3671, allocations: 27.98 kB / 410 MB, free: 7.434 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.0002997/0.3674, allocations: 210.7 kB / 410.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3675, allocations: 106.7 kB / 410.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.369, allocations: 0.5088 MB / 410.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.369, allocations: 7.984 kB / 410.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.369, allocations: 0 / 410.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.369, allocations: 0 / 410.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007898/0.3698, allocations: 0.5709 MB / 411.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.3698, allocations: 16 kB / 411.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3701, allocations: 59.95 kB / 411.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3701, allocations: 2.562 kB / 411.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.3702, allocations: 15.98 kB / 411.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3702, allocations: 4 kB / 411.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3702, allocations: 0 / 411.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3713, allocations: 488.2 kB / 411.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.3716, allocations: 199.6 kB / 412.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3717, allocations: 11.98 kB / 412.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.3721, allocations: 31.97 kB / 412.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3722, allocations: 35.89 kB / 412.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.3722, allocations: 16 kB / 412.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007051/0.3729, allocations: 0.592 MB / 412.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3729, allocations: 0 / 412.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006847/0.3736, allocations: 215.8 kB / 413 MB, free: 4.254 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.0006664/0.3743, allocations: 483.2 kB / 413.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3754, allocations: 390.3 kB / 413.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3754, allocations: 0 / 413.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.3759, allocations: 209.8 kB / 414.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009165/0.3768, allocations: 163 kB / 414.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3792, allocations: 1.772 MB / 416 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.3797, allocations: 0.9566 MB / 417 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000361/0.38, allocations: 98.02 kB / 417.1 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.3801, allocations: 51.44 kB / 417.1 MB, free: 80 kB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3801, allocations: 0 / 417.1 MB, free: 80 kB / 318.1 MB Notification: Performance of Templates: time 0.01967/0.3998, allocations: 12.22 MB / 429.3 MB, free: 3.934 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.0.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