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.001468/0.001468, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001803/0.001804, allocations: 185.2 kB / 19.33 MB, free: 3.758 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.349/1.349, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001293/0.001293, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08505, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.1778/0.2629, allocations: 5.389 MB / 381.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.2793, allocations: 18.5 MB / 399.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009005/0.2803, allocations: 26.72 kB / 399.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.2828, allocations: 0.8025 MB / 400.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.2888, allocations: 1.563 MB / 402.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.2937, allocations: 1.251 MB / 403.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.2972, allocations: 1.755 MB / 405.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.2976, allocations: 175.9 kB / 405.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.2981, allocations: 333.8 kB / 405.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.2986, allocations: 358.3 kB / 405.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.2986, allocations: 33.09 kB / 406 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.3028, allocations: 1.12 MB / 407.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.3031, allocations: 123.8 kB / 407.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006171/0.3037, allocations: 432 kB / 407.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.3074, allocations: 1.624 MB / 409.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3074, allocations: 1.031 kB / 409.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3074, allocations: 0 / 409.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.3074, allocations: 0 / 409.3 MB, free: 9.594 MB / 334.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.002504/0.3099, allocations: 1.385 MB / 410.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.31, allocations: 13.36 kB / 410.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3102, allocations: 115.2 kB / 410.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3112, allocations: 0.7841 MB / 411.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3112, allocations: 17.84 kB / 411.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.3113, allocations: 27.59 kB / 411.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.312, allocations: 335.1 kB / 411.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3121, allocations: 0 / 411.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3121, allocations: 14.81 kB / 411.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3121, allocations: 5.812 kB / 411.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.313, allocations: 348.2 kB / 412.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.3149, allocations: 1.23 MB / 413.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.3157, allocations: 264.6 kB / 413.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.3162, allocations: 228.6 kB / 414 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007864/0.3241, allocations: 7.799 MB / 421.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.3246, allocations: 213.9 kB / 422 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/0.3246, allocations: 0 / 422 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001351/0.326, allocations: 487.2 kB / 422.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3261, allocations: 63.53 kB / 422.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3271, allocations: 0.8869 MB / 423.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.3271, allocations: 36.41 kB / 423.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.3275, allocations: 463.9 kB / 423.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.3275, allocations: 56.7 kB / 424 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3277, allocations: 83.27 kB / 424.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3278, allocations: 320.4 kB / 424.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.3282, allocations: 126.8 kB / 424.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.3286, allocations: 262.5 kB / 424.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/0.3294, allocations: 400.6 kB / 425.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3294, allocations: 4 kB / 425.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001096/0.3305, allocations: 0.4998 MB / 425.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3305, allocations: 7.938 kB / 425.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/0.3306, allocations: 24 kB / 425.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3306, allocations: 4 kB / 425.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.331, allocations: 89.31 kB / 425.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.331, allocations: 11.94 kB / 425.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.3314, allocations: 47.7 kB / 425.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3315, allocations: 24 kB / 425.8 MB, free: 12.07 MB / 350.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.0002857/0.3318, allocations: 213.6 kB / 426.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3319, allocations: 122.6 kB / 426.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3331, allocations: 458.1 kB / 426.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3331, allocations: 4 kB / 426.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3331, allocations: 0 / 426.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3331, allocations: 6.859 kB / 426.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.3338, allocations: 0.5711 MB / 427.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.3338, allocations: 20.06 kB / 427.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.3341, allocations: 47.94 kB / 427.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3341, allocations: 3.938 kB / 427.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3341, allocations: 12 kB / 427.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3341, allocations: 0 / 427.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3341, allocations: 7.938 kB / 427.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.335, allocations: 446.6 kB / 427.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.3353, allocations: 199.6 kB / 427.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.3354, allocations: 8 kB / 427.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.3357, allocations: 27.95 kB / 428 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.3358, allocations: 31.91 kB / 428 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.3359, allocations: 16 kB / 428 MB, free: 9.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006565/0.3365, allocations: 0.5961 MB / 428.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3365, allocations: 0 / 428.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007227/0.3373, allocations: 219.8 kB / 428.8 MB, free: 8.965 MB / 350.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.0007277/0.338, allocations: 477.8 kB / 429.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.3389, allocations: 354.3 kB / 429.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3389, allocations: 0 / 429.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.3394, allocations: 188.8 kB / 429.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.34, allocations: 152.9 kB / 430 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3424, allocations: 1.48 MB / 431.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.3429, allocations: 0.9679 MB / 432.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.343, allocations: 55.44 kB / 432.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3431, allocations: 0 / 432.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Templates: time 0.01764/0.3607, allocations: 12.61 MB / 445.1 MB, free: 8.609 MB / 366.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 -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