Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 103.3 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008045/0.0008045, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2056, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004514/0.2101, allocations: 5.541 MB / 405 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.2248, allocations: 19.61 MB / 424.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000749/0.2256, allocations: 11.94 kB / 424.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.2276, allocations: 0.7622 MB / 425.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.2316, allocations: 1.302 MB / 426.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.235, allocations: 1.086 MB / 427.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.2371, allocations: 1.765 MB / 429.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2374, allocations: 157.8 kB / 429.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.2377, allocations: 342.3 kB / 430 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.2379, allocations: 357.8 kB / 430.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.238, allocations: 20 kB / 430.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.2406, allocations: 1.436 MB / 431.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.2407, allocations: 111.2 kB / 431.9 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.2409, allocations: 421.3 kB / 432.4 MB, free: 352 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.2429, allocations: 1.557 MB / 433.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2429, allocations: 4 kB / 433.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2429, allocations: 0 / 433.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.243, allocations: 0 / 433.9 MB, free: 14.78 MB / 314.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.002221/0.2452, allocations: 1.389 MB / 435.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2452, allocations: 8.031 kB / 435.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.2454, allocations: 118.5 kB / 435.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.2464, allocations: 0.7782 MB / 436.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.2465, allocations: 20.55 kB / 436.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.2465, allocations: 20 kB / 436.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.2473, allocations: 344.7 kB / 436.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2473, allocations: 0 / 436.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.2473, allocations: 8 kB / 436.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2474, allocations: 15.92 kB / 436.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.2482, allocations: 342 kB / 436.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.2501, allocations: 1.234 MB / 438.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/0.2509, allocations: 266.6 kB / 438.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.2514, allocations: 237.7 kB / 438.7 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.259, allocations: 7.771 MB / 446.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.2596, allocations: 203.2 kB / 446.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.2596, allocations: 0 / 446.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001362/0.2609, allocations: 494.7 kB / 447.1 MB, free: 312 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.261, allocations: 59.39 kB / 447.2 MB, free: 240 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.262, allocations: 0.8786 MB / 448.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.262, allocations: 29.7 kB / 448.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.2624, allocations: 468.2 kB / 448.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.2625, allocations: 59.27 kB / 448.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2626, allocations: 85.52 kB / 448.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2627, allocations: 326 kB / 449 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.2631, allocations: 115.9 kB / 449.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.2636, allocations: 261.8 kB / 449.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.2644, allocations: 385.6 kB / 449.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2644, allocations: 4 kB / 449.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00103/0.2655, allocations: 0.4942 MB / 450.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2655, allocations: 8 kB / 450.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.2655, allocations: 20.59 kB / 450.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2656, allocations: 12 kB / 450.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.2659, allocations: 83.81 kB / 450.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.2659, allocations: 11.98 kB / 450.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.2663, allocations: 63.44 kB / 450.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.2663, allocations: 20 kB / 450.5 MB, free: 12.78 MB / 330.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 (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.0002308/0.2666, allocations: 218.3 kB / 450.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2667, allocations: 110.7 kB / 450.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.268, allocations: 467.5 kB / 451.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.268, allocations: 4 kB / 451.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.268, allocations: 0 / 451.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.268, allocations: 3.938 kB / 451.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.2686, allocations: 0.5632 MB / 451.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.2686, allocations: 20.06 kB / 451.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.2688, allocations: 51.88 kB / 451.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2689, allocations: 4 kB / 451.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2689, allocations: 8 kB / 451.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2689, allocations: 3.984 kB / 451.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2689, allocations: 0 / 451.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.2707, allocations: 1.312 MB / 453.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.271, allocations: 199.7 kB / 453.4 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.2711, allocations: 8 kB / 453.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.2714, allocations: 23.95 kB / 453.4 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2715, allocations: 31.91 kB / 453.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.2716, allocations: 23.98 kB / 453.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006512/0.2722, allocations: 0.5881 MB / 454.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2722, allocations: 0 / 454.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006826/0.2729, allocations: 219.7 kB / 454.3 MB, free: 8.777 MB / 330.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) * 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.0006566/0.2736, allocations: 487.1 kB / 454.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000934/0.2745, allocations: 351.9 kB / 455.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2745, allocations: 0 / 455.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.275, allocations: 186.7 kB / 455.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.2758, allocations: 156.4 kB / 455.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.2782, allocations: 1.881 MB / 457.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.2787, allocations: 0.9605 MB / 458.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.2791, allocations: 102 kB / 458.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.2792, allocations: 47.44 kB / 458.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2792, allocations: 0 / 458.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of Templates: time 0.01946/0.2986, allocations: 12.43 MB / 470.9 MB, free: 8.199 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches